#9FA522

Closest named color: Pea Soup Green (#94A617). oklch(69.5% 0.144 112.4), rgb(159, 165, 34).

Aa

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

About this color

#9FA522 is a medium-light, vivid yellow. In OKLCH its lightness is 69%, its chroma 0.144 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup Green (#94A617), ΔE 0.018 away. Black text reads best on it, at 7.87:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromavivid (0.144)
Temperaturein between
Nearest namePea Soup Green (#94A617)
Black text7.87:1
White text2.66:1

Values

HEX#9FA522
RGBrgb(159, 165, 34)
HSLhsl(63, 66%, 39%)
OKLCHoklch(69.5% 0.144 112.4)

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 #9FA522 2.66:1 Fails Lc -56.9 Large or bold text, headings
Black text on #9FA522 7.87:1 AAA Lc 52.3 Large or bold text, headings
#9FA522 text on white 2.66:1 Fails Lc 51.7 Large or bold text, headings
#9FA522 text on black 7.87:1 AAA Lc -50.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

    #F5F6ED

    oklch(97% 0.012 111.8)

  2. Step 100

    100

    #EAECD8

    oklch(93.6% 0.027 111.5)

  3. Step 200

    200

    #D9DDB8

    oklch(88.5% 0.049 112.4)

  4. Step 300

    300

    #C1C782

    oklch(80.9% 0.091 112.5)

  5. Step 400

    400 (this color)

    #9FA522

    oklch(69.5% 0.144 112.4)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#9FA522 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)#B29D000.032
Deuteranopia (no green cones)#B2A02E0.033
Tritanopia (no blue cones)#AA9A8D0.129
Achromatopsia (no color)#9E9E9E0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA522

    #9FA522

    oklch(69.5% 0.144 112.4)

  • #A08AEE

    #A08AEE

    oklch(69.5% 0.144 292.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA522

    #9FA522

    oklch(69.5% 0.144 112.4)

  • #C89200

    #C89200

    oklch(69.4% 0.143 82.1)

  • #63B35D

    #63B35D

    oklch(69.5% 0.144 142.4)

Open the analogous palette in the generator

Split complementary

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

  • #9FA522

    #9FA522

    oklch(69.5% 0.144 112.4)

  • #6B9BF6

    #6B9BF6

    oklch(69.6% 0.144 262.2)

  • #C67CD1

    #C67CD1

    oklch(69.4% 0.144 322.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA522

    #9FA522

    oklch(69.5% 0.144 112.4)

  • #00AAE5

    #00AAE5

    oklch(69.4% 0.142 232.3)

  • #DF74A6

    #DF74A6

    oklch(69.5% 0.144 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA522

    #9FA522

    oklch(69.5% 0.144 112.4)

  • #00B2BC

    #00B2BC

    oklch(69.5% 0.118 201.9)

  • #A08AEE

    #A08AEE

    oklch(69.5% 0.144 292.3)

  • #E97573

    #E97573

    oklch(69.6% 0.144 22.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9FA522.

Similar named colors

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

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