#918A31

Closest named color: Camo (#7F8F4E). oklch(62.2% 0.11 104.8), rgb(145, 138, 49).

Aa

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

About this color

#918A31 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.110 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.033 away. Black text reads best on it, at 5.88:1.

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text5.88:1
White text3.56:1

Values

HEX#918A31
RGBrgb(145, 138, 49)
HSLhsl(56, 49%, 38%)
OKLCHoklch(62.2% 0.11 104.8)

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 #918A31 3.56:1 AA large text Lc -68.7 Content text, not long reading
Black text on #918A31 5.88:1 AA Lc 40.9 Non-text elements, placeholder text
#918A31 text on white 3.56:1 AA large text Lc 63.2 Content text, not long reading
#918A31 text on black 5.88:1 AA Lc -38.5 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DCDBC4

    oklch(88.6% 0.031 105)

  4. Step 300

    300

    #C5C39B

    oklch(80.9% 0.054 105.2)

  5. Step 400

    400

    #A8A463

    oklch(70.7% 0.086 105.3)

  6. Step 500

    500 (this color)

    #918A31

    oklch(62.2% 0.11 104.8)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #47430D

    oklch(37.6% 0.072 105)

  11. Step 950

    950

    #2A280A

    oklch(27.2% 0.046 105.5)

Export this scale for Tailwind in the Tailwind colors tool

#918A31 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)#9685260.014
Deuteranopia (no green cones)#9889360.013
Tritanopia (no blue cones)#9C81780.100
Achromatopsia (no color)#8787870.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #918A31

    #918A31

    oklch(62.2% 0.11 104.8)

  • #807DC6

    #807DC6

    oklch(62.3% 0.109 284.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #918A31

    #918A31

    oklch(62.2% 0.11 104.8)

  • #AD7C30

    #AD7C30

    oklch(62.2% 0.109 74.8)

  • #6A954F

    #6A954F

    oklch(62.1% 0.109 134.4)

Open the analogous palette in the generator

Split complementary

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

  • #918A31

    #918A31

    oklch(62.2% 0.11 104.8)

  • #5789C8

    #5789C8

    oklch(62.2% 0.11 254.9)

  • #9F72B4

    #9F72B4

    oklch(62.2% 0.109 314.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #918A31

    #918A31

    oklch(62.2% 0.11 104.8)

  • #2194B8

    #2194B8

    oklch(62.2% 0.109 224.8)

  • #B56B96

    #B56B96

    oklch(62.3% 0.109 344.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #918A31

    #918A31

    oklch(62.2% 0.11 104.8)

  • #009A9A

    #009A9A

    oklch(62.1% 0.106 194.8)

  • #807DC6

    #807DC6

    oklch(62.3% 0.109 284.6)

  • #BF6972

    #BF6972

    oklch(62.1% 0.11 14.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #918A31 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.