#938540
Closest named color: Drab (#828344). oklch(61.4% 0.091 98), rgb(147, 133, 64).
Aa
Black text reads best on this color (5.66:1).
About this color
#938540 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.091 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.027 away. Black text reads best on it, at 5.66:1.
| Hue family | Yellows |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.091) |
| Temperature | warm |
| Nearest name | Drab (#828344) |
| Black text | 5.66:1 |
| White text | 3.70:1 |
Values
| HEX | #938540 |
| RGB | rgb(147, 133, 64) |
| HSL | hsl(50, 39%, 41%) |
| OKLCH | oklch(61.4% 0.091 98) |
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 #938540 | 3.70:1 | AA large text | Lc -70.1 | Content text, not long reading |
| Black text on #938540 | 5.66:1 | AA | Lc 39.5 | Non-text elements, placeholder text |
| #938540 text on white | 3.70:1 | AA large text | Lc 64.6 | Content text, not long reading |
| #938540 text on black | 5.66:1 | AA | Lc -37.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.
-
Step 50
50
#F6F5F1
oklch(97% 0.005 95.1)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC7
oklch(88.6% 0.026 99.6)
-
Step 300
300
#C8C1A1
oklch(80.8% 0.044 97)
-
Step 400
400
#ACA16D
oklch(70.6% 0.071 97.7)
-
Step 500
500 (this color)
#938540
oklch(61.4% 0.091 98)
-
Step 600
600
#837324
oklch(55.5% 0.099 97.5)
-
Step 700
700
#6F6116
oklch(49.2% 0.092 98.1)
-
Step 800
800
#5A4F16
oklch(42.7% 0.076 98.1)
-
Step 900
900
#4A4219
oklch(37.8% 0.06 98.4)
-
Step 950
950
#2B2710
oklch(27.1% 0.038 99.6)
#938540 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) | #908239 | 0.011 |
| Deuteranopia (no green cones) | #948743 | 0.006 |
| Tritanopia (no blue cones) | #9D7C75 | 0.084 |
| Achromatopsia (no color) | #858585 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #938540
#938540
oklch(61.4% 0.091 98)
- #787FBB
#787FBB
oklch(61.5% 0.091 278.3)
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 #938540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab #828344 ΔE 0.027
- Camo #7F8F4E ΔE 0.036
- Coffee #A6814C ΔE 0.038
- Puce #A57E52 ΔE 0.045
- Hazel #8E7618 ΔE 0.046
- Bronze #A87900 ΔE 0.047
- Mustard Brown #AC7E04 ΔE 0.047
- Dark Mustard #A88905 ΔE 0.048
Use #938540 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.