#9FB438

Closest named color: Mustard Green (#A8B504). oklch(73% 0.148 118.6), rgb(159, 180, 56).

Aa

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

About this color

#9FB438 is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.148 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.022 away. Black text reads best on it, at 9.05:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromavivid (0.148)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.05:1
White text2.31:1

Values

HEX#9FB438
RGBrgb(159, 180, 56)
HSLhsl(70, 53%, 46%)
OKLCHoklch(73% 0.148 118.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 #9FB438 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #9FB438 9.05:1 AAA Lc 58.4 Large or bold text, headings
#9FB438 text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#9FB438 text on black 9.05:1 AAA Lc -56.5 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E8EDD9

    oklch(93.7% 0.027 118.3)

  3. Step 200

    200

    #D5DEB9

    oklch(88.4% 0.05 118.5)

  4. Step 300

    300

    #BAC984

    oklch(80.8% 0.093 118.5)

  5. Step 400

    400 (this color)

    #9FB438

    oklch(73% 0.148 118.6)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#9FB438 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)#C0AA250.050
Deuteranopia (no green cones)#BDAB420.051
Tritanopia (no blue cones)#A8AA9B0.127
Achromatopsia (no color)#AAAAAA0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FB438

    #9FB438

    oklch(73% 0.148 118.6)

  • #B491F8

    #B491F8

    oklch(73% 0.149 298.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FB438

    #9FB438

    oklch(73% 0.148 118.6)

  • #CEA108

    #CEA108

    oklch(73% 0.148 88.3)

  • #5CC172

    #5CC172

    oklch(73.1% 0.148 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #9FB438

    #9FB438

    oklch(73% 0.148 118.6)

  • #83A3FF

    #83A3FF

    oklch(73% 0.139 268.3)

  • #DA84D6

    #DA84D6

    oklch(73.1% 0.148 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FB438

    #9FB438

    oklch(73% 0.148 118.6)

  • #32B3FA

    #32B3FA

    oklch(73% 0.149 238.7)

  • #F07DA6

    #F07DA6

    oklch(73% 0.147 358.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FB438

    #9FB438

    oklch(73% 0.148 118.6)

  • #00BDD2

    #00BDD2

    oklch(73.1% 0.126 208.8)

  • #B491F8

    #B491F8

    oklch(73% 0.149 298.3)

  • #F78071

    #F78071

    oklch(73.1% 0.148 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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