#948126

Closest named color: Hazel (#8E7618). oklch(60.4% 0.11 97), rgb(148, 129, 38).

Aa

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

About this color

#948126 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.110 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.032 away. Black text reads best on it, at 5.42:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.42:1
White text3.86:1

Values

HEX#948126
RGBrgb(148, 129, 38)
HSLhsl(50, 59%, 36%)
OKLCHoklch(60.4% 0.11 97)

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 #948126 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #948126 5.42:1 AA Lc 38.0 Non-text elements, placeholder text
#948126 text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#948126 text on black 5.42:1 AA Lc -35.6 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC4

    oklch(88.6% 0.03 98.5)

  4. Step 300

    300

    #CAC19A

    oklch(80.8% 0.053 96.6)

  5. Step 400

    400

    #AFA161

    oklch(70.6% 0.086 97.3)

  6. Step 500

    500 (this color)

    #948126

    oklch(60.4% 0.11 97)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4C410A

    oklch(37.6% 0.071 97.1)

  11. Step 950

    950

    #2D2609

    oklch(26.9% 0.045 95.6)

Export this scale for Tailwind in the Tailwind colors tool

#948126 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)#8E7E170.016
Deuteranopia (no green cones)#93842C0.008
Tritanopia (no blue cones)#A0776F0.101
Achromatopsia (no color)#8181810.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #948126

    #948126

    oklch(60.4% 0.11 97)

  • #717AC2

    #717AC2

    oklch(60.3% 0.11 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #948126

    #948126

    oklch(60.4% 0.11 97)

  • #AD7330

    #AD7330

    oklch(60.4% 0.11 66.6)

  • #708D41

    #708D41

    oklch(60.4% 0.109 126.7)

Open the analogous palette in the generator

Split complementary

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

  • #948126

    #948126

    oklch(60.4% 0.11 97)

  • #4587BF

    #4587BF

    oklch(60.5% 0.109 246.5)

  • #936FB5

    #936FB5

    oklch(60.5% 0.11 307)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #948126

    #948126

    oklch(60.4% 0.11 97)

  • #0090AB

    #0090AB

    oklch(60.3% 0.108 217.3)

  • #AB6799

    #AB6799

    oklch(60.5% 0.109 337.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #948126

    #948126

    oklch(60.4% 0.11 97)

  • #00958C

    #00958C

    oklch(60.3% 0.105 187.3)

  • #717AC2

    #717AC2

    oklch(60.3% 0.11 277.2)

  • #B86476

    #B86476

    oklch(60.5% 0.109 7.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #948126 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.