#9FAF33

Closest named color: Avocado (#90B134). oklch(71.9% 0.146 116.6), rgb(159, 175, 51).

Aa

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

About this color

#9FAF33 is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.146 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.020 away. Black text reads best on it, at 8.65:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromavivid (0.146)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.65:1
White text2.42:1

Values

HEX#9FAF33
RGBrgb(159, 175, 51)
HSLhsl(68, 55%, 44%)
OKLCHoklch(71.9% 0.146 116.6)

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 #9FAF33 2.42:1 Fails Lc -52.7 Large or bold text, headings
Black text on #9FAF33 8.65:1 AAA Lc 56.3 Large or bold text, headings
#9FAF33 text on white 2.42:1 Fails Lc 47.7 Large or bold text, headings
#9FAF33 text on black 8.65:1 AAA Lc -54.4 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

    #F5F7EE

    oklch(97.2% 0.012 116.8)

  2. Step 100

    100

    #E8ECD9

    oklch(93.5% 0.026 116.6)

  3. Step 200

    200

    #D6DEB8

    oklch(88.5% 0.051 117.1)

  4. Step 300

    300

    #BDC984

    oklch(81% 0.092 116.5)

  5. Step 400

    400 (this color)

    #9FAF33

    oklch(71.9% 0.146 116.6)

  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

#9FAF33 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)#BBA61E0.043
Deuteranopia (no green cones)#BAA73D0.046
Tritanopia (no blue cones)#A9A5970.127
Achromatopsia (no color)#A6A6A60.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FAF33

    #9FAF33

    oklch(71.9% 0.146 116.6)

  • #AE8FF4

    #AE8FF4

    oklch(71.9% 0.146 296.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FAF33

    #9FAF33

    oklch(71.9% 0.146 116.6)

  • #CC9C09

    #CC9C09

    oklch(71.8% 0.145 86.2)

  • #5FBC6B

    #5FBC6B

    oklch(71.8% 0.146 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #9FAF33

    #9FAF33

    oklch(71.9% 0.146 116.6)

  • #7AA0FF

    #7AA0FF

    oklch(71.9% 0.145 266.3)

  • #D382D4

    #D382D4

    oklch(71.9% 0.145 326.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FAF33

    #9FAF33

    oklch(71.9% 0.146 116.6)

  • #29B0F3

    #29B0F3

    oklch(71.8% 0.146 236.8)

  • #EA7AA6

    #EA7AA6

    oklch(71.8% 0.146 356.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FAF33

    #9FAF33

    oklch(71.9% 0.146 116.6)

  • #00B9CB

    #00B9CB

    oklch(71.8% 0.123 207.1)

  • #AE8FF4

    #AE8FF4

    oklch(71.9% 0.146 296.7)

  • #F27D72

    #F27D72

    oklch(72% 0.146 26.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9FAF33 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.