#9BAB23

Closest named color: Icky Green (#8FAE22). oklch(70.5% 0.151 116.5), rgb(155, 171, 35).

Aa

Black text reads best on this color (8.24:1).

About this color

#9BAB23 is a medium-light, vivid yellow. In OKLCH its lightness is 71%, its chroma 0.151 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Icky Green (#8FAE22), ΔE 0.018 away. Black text reads best on it, at 8.24:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromavivid (0.151)
Temperaturein between
Nearest nameIcky Green (#8FAE22)
Black text8.24:1
White text2.54:1

Values

HEX#9BAB23
RGBrgb(155, 171, 35)
HSLhsl(67, 66%, 40%)
OKLCHoklch(70.5% 0.151 116.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9BAB23 2.54:1 Fails Lc -54.9 Large or bold text, headings
Black text on #9BAB23 8.24:1 AAA Lc 54.3 Large or bold text, headings
#9BAB23 text on white 2.54:1 Fails Lc 49.8 Large or bold text, headings
#9BAB23 text on black 8.24:1 AAA Lc -52.2 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E8EDD8

    oklch(93.7% 0.028 117.8)

  3. Step 200

    200

    #D6DEB7

    oklch(88.4% 0.053 116.9)

  4. Step 300

    300

    #BDC981

    oklch(81% 0.095 116.3)

  5. Step 400

    400 (this color)

    #9BAB23

    oklch(70.5% 0.151 116.5)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#9BAB23 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B7A2000.043
Deuteranopia (no green cones)#B6A3300.047
Tritanopia (no blue cones)#A5A1920.131
Achromatopsia (no color)#A2A2A20.152

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #9BAB23

    #9BAB23

    oklch(70.5% 0.151 116.5)

  • #AA8AF2

    #AA8AF2

    oklch(70.6% 0.151 296.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9BAB23

    #9BAB23

    oklch(70.5% 0.151 116.5)

  • #C79800

    #C79800

    oklch(70.4% 0.144 86.4)

  • #57B964

    #57B964

    oklch(70.6% 0.152 146.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #9BAB23

    #9BAB23

    oklch(70.5% 0.151 116.5)

  • #749BFE

    #749BFE

    oklch(70.5% 0.152 266.4)

  • #D07CD1

    #D07CD1

    oklch(70.5% 0.15 326.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9BAB23

    #9BAB23

    oklch(70.5% 0.151 116.5)

  • #0AACF1

    #0AACF1

    oklch(70.5% 0.151 236.5)

  • #E874A2

    #E874A2

    oklch(70.5% 0.151 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9BAB23

    #9BAB23

    oklch(70.5% 0.151 116.5)

  • #00B5C5

    #00B5C5

    oklch(70.6% 0.121 206)

  • #AA8AF2

    #AA8AF2

    oklch(70.6% 0.151 296.5)

  • #F0766C

    #F0766C

    oklch(70.6% 0.152 26.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9BAB23, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #9BAB23 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.