#968540
Closest named color: Drab (#828344). oklch(61.7% 0.092 95.7), rgb(150, 133, 64).
Aa
Black text reads best on this color (5.72:1).
About this color
#968540 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.092 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.032 away. Black text reads best on it, at 5.72:1.
| Hue family | Yellows |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.092) |
| Temperature | warm |
| Nearest name | Drab (#828344) |
| Black text | 5.72:1 |
| White text | 3.66:1 |
Values
| HEX | #968540 |
| RGB | rgb(150, 133, 64) |
| HSL | hsl(48, 40%, 42%) |
| OKLCH | oklch(61.7% 0.092 95.7) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #968540 | 3.66:1 | AA large text | Lc -69.7 | Content text, not long reading |
| Black text on #968540 | 5.72:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #968540 text on white | 3.66:1 | AA large text | Lc 64.2 | Content text, not long reading |
| #968540 text on black | 5.72:1 | AA | Lc -37.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.
-
Step 50
50
#F6F5F1
oklch(97% 0.005 95.1)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DED9C7
oklch(88.4% 0.025 94.1)
-
Step 300
300
#C9C1A1
oklch(80.9% 0.044 95.6)
-
Step 400
400
#AEA16D
oklch(70.8% 0.072 95.8)
-
Step 500
500 (this color)
#968540
oklch(61.7% 0.092 95.7)
-
Step 600
600
#857223
oklch(55.5% 0.099 95.2)
-
Step 700
700
#716014
oklch(49.2% 0.093 95.6)
-
Step 800
800
#5C4E15
oklch(42.7% 0.076 94.9)
-
Step 900
900
#4B4119
oklch(37.6% 0.059 95.4)
-
Step 950
950
#2C2610
oklch(26.9% 0.037 94.5)
#968540 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #918239 | 0.013 |
| Deuteranopia (no green cones) | #958843 | 0.008 |
| Tritanopia (no blue cones) | #A17C75 | 0.084 |
| Achromatopsia (no color) | #858585 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #968540
#968540
oklch(61.7% 0.092 95.7)
- #7681BC
#7681BC
oklch(61.8% 0.09 275.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #968540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.032
- Coffee #A6814C ΔE 0.034
- Camo #7F8F4E ΔE 0.039
- Puce #A57E52 ΔE 0.042
- Mustard Brown #AC7E04 ΔE 0.043
- Tan Brown #AB7E4C ΔE 0.044
- Bronze #A87900 ΔE 0.044
- Dark Tan #AF884A ΔE 0.044
Use #968540 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.