#948B22

Closest named color: Dark Mustard (#A88905). oklch(62.6% 0.121 104.3), rgb(148, 139, 34).

Aa

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

About this color

#948B22 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.121 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.031 away. Black text reads best on it, at 5.97:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.97:1
White text3.51:1

Values

HEX#948B22
RGBrgb(148, 139, 34)
HSLhsl(55, 63%, 36%)
OKLCHoklch(62.6% 0.121 104.3)

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 #948B22 3.51:1 AA large text Lc -68.1 Content text, not long reading
Black text on #948B22 5.97:1 AA Lc 41.5 Non-text elements, placeholder text
#948B22 text on white 3.51:1 AA large text Lc 62.6 Content text, not long reading
#948B22 text on black 5.97:1 AA Lc -39.1 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

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DCDBC2

    oklch(88.6% 0.033 105.2)

  4. Step 300

    300

    #C6C397

    oklch(80.8% 0.059 104.4)

  5. Step 400

    400

    #AAA45B

    oklch(70.8% 0.095 104.4)

  6. Step 500

    500 (this color)

    #948B22

    oklch(62.6% 0.121 104.3)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494302

    oklch(37.7% 0.078 103.6)

  11. Step 950

    950

    #2A2706

    oklch(26.8% 0.05 104.2)

Export this scale for Tailwind in the Tailwind colors tool

#948B22 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)#98860B0.014
Deuteranopia (no green cones)#9B8B2A0.013
Tritanopia (no blue cones)#A081770.110
Achromatopsia (no color)#8989890.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #948B22

    #948B22

    oklch(62.6% 0.121 104.3)

  • #807DCE

    #807DCE

    oklch(62.7% 0.12 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948B22

    #948B22

    oklch(62.6% 0.121 104.3)

  • #B27C22

    #B27C22

    oklch(62.6% 0.12 74.9)

  • #689849

    #689849

    oklch(62.7% 0.121 134.5)

Open the analogous palette in the generator

Split complementary

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

  • #948B22

    #948B22

    oklch(62.6% 0.121 104.3)

  • #528ACF

    #528ACF

    oklch(62.6% 0.121 254.5)

  • #A370BA

    #A370BA

    oklch(62.6% 0.121 314.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948B22

    #948B22

    oklch(62.6% 0.121 104.3)

  • #0096BD

    #0096BD

    oklch(62.6% 0.118 224.7)

  • #BA6899

    #BA6899

    oklch(62.5% 0.121 344.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948B22

    #948B22

    oklch(62.6% 0.121 104.3)

  • #009C9B

    #009C9B

    oklch(62.7% 0.107 194)

  • #807DCE

    #807DCE

    oklch(62.7% 0.12 284)

  • #C66771

    #C66771

    oklch(62.7% 0.121 14.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #948B22.

Similar named colors

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

Use #948B22 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.