#948D12

Closest named color: Dark Mustard (#A88905). oklch(63% 0.13 105.9), rgb(148, 141, 18).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.07:1
White text3.45:1

Values

HEX#948D12
RGBrgb(148, 141, 18)
HSLhsl(57, 78%, 33%)
OKLCHoklch(63% 0.13 105.9)

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 #948D12 3.45:1 AA large text Lc -67.4 Content text, not long reading
Black text on #948D12 6.07:1 AA Lc 42.1 Non-text elements, placeholder text
#948D12 text on white 3.45:1 AA large text Lc 61.9 Content text, not long reading
#948D12 text on black 6.07:1 AA Lc -39.8 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #EBEBDD

    oklch(93.6% 0.019 106.8)

  3. Step 200

    200

    #DCDBC1

    oklch(88.5% 0.035 105.3)

  4. Step 300

    300

    #C6C494

    oklch(81% 0.064 105.8)

  5. Step 400

    400

    #A9A556

    oklch(70.8% 0.102 106.1)

  6. Step 500

    500 (this color)

    #948D12

    oklch(63% 0.13 105.9)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2803

    oklch(27.1% 0.054 106.4)

Export this scale for Tailwind in the Tailwind colors tool

#948D12 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)#9A87000.017
Deuteranopia (no green cones)#9D8C1F0.017
Tritanopia (no blue cones)#A083780.118
Achromatopsia (no color)#8A8A8A0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #948D12

    #948D12

    oklch(63% 0.13 105.9)

  • #837CD3

    #837CD3

    oklch(63% 0.129 285.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948D12

    #948D12

    oklch(63% 0.13 105.9)

  • #B57C0B

    #B57C0B

    oklch(62.9% 0.13 75.9)

  • #649A47

    #649A47

    oklch(62.9% 0.128 135.8)

Open the analogous palette in the generator

Split complementary

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

  • #948D12

    #948D12

    oklch(63% 0.13 105.9)

  • #518AD6

    #518AD6

    oklch(62.9% 0.13 256.2)

  • #A76FBE

    #A76FBE

    oklch(63% 0.13 315.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948D12

    #948D12

    oklch(63% 0.13 105.9)

  • #0097C0

    #0097C0

    oklch(63% 0.12 225.7)

  • #C0669A

    #C0669A

    oklch(63% 0.131 345.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948D12

    #948D12

    oklch(63% 0.13 105.9)

  • #009D9E

    #009D9E

    oklch(63.1% 0.108 195.6)

  • #837CD3

    #837CD3

    oklch(63% 0.129 285.8)

  • #CB656E

    #CB656E

    oklch(63% 0.13 16)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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