#94872F#94872F
#94872F is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.108 H 100.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #94872F |
|---|---|
| RGB | rgb(148, 135, 47) |
| HSL | hsl(52, 52%, 38%) |
| HSV | hsv(52, 68%, 58%) |
| CMYK | cmyk(0%, 8.8%, 68.2%, 42%) |
| CIE-LAB | lab(55.92, -5.85, 47.21) |
| CIE-LCH | lch(55.92, 47.57, 97.07°) |
| OKLab | oklab(61.8% -0.0203 0.1063) |
| OKLCH | oklch(61.8% 0.108 100.8) |
| XYZ | xyz(21.3907, 23.8300, 6.1617) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.50
Diarrhea
#9F8303
ΔE00 5.69
Olive
#808000
ΔE00 6.03
Dark Khaki
#9B8F55
ΔE00 6.12
Hazel
#8E7618
ΔE00 6.71
Dark Mustard
#A88905
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94872F #2F3C94
analogous
#94542F #94872F #6E942F
triadic
#94872F #2F9487 #872F94
tetradic
#94872F #2F9454 #2F3C94 #942F6E
square
#94872F #2F9454 #2F3C94 #942F6E
split-complementary
#94872F #2F6E94 #542F94
monochromatic
#373211 #665D20 #94872F #C2B13E #D1C46D
Accessibility & contrast
On white
3.64
#94872F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#94872F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94872F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94872F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94872F | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#9F7D75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #94872f; /* rgb */ color: rgb(148, 135, 47); /* oklch */ color: oklch(61.8% 0.108 100.8);
Tailwind
colors: {
custom: {
50: '#b6a96c',
500: '#94872f',
950: '#000000',
},
}SCSS
$custom: #94872f; $custom-light: #b6a96c; $custom-dark: #000000;
JSON
{
"hex": "#94872f",
"rgb": {
"r": 148,
"g": 135,
"b": 47
},
"hsl": {
"h": 52.277,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.61798,
"c": 0.10826,
"h": 100.8
},
"luminance": 0.23829
}Semantic roles & 50–950 ramp
primary
#94872F
secondary
#6771B8
accent
#5FDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A