#94871E#94871E
#94871E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.119 H 101.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #94871E |
|---|---|
| RGB | rgb(148, 135, 30) |
| HSL | hsl(53, 66%, 35%) |
| HSV | hsv(53, 80%, 58%) |
| CMYK | cmyk(0%, 8.8%, 79.7%, 42%) |
| CIE-LAB | lab(55.80, -6.70, 53.67) |
| CIE-LCH | lch(55.80, 54.09, 97.11°) |
| OKLab | oklab(61.67% -0.0245 0.1168) |
| OKLCH | oklch(61.67% 0.119 101.9) |
| XYZ | xyz(21.1121, 23.7186, 4.6941) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.73
Diarrhea
#9F8303
ΔE00 4.85
Olive
#808000
ΔE00 5.29
Dark Mustard
#A88905
ΔE00 6.01
Baby Poo
#AB9004
ΔE00 6.20
Baby Shit Brown
#AD900D
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94871E #1E2B94
analogous
#944C1E #94871E #66941E
triadic
#94871E #1E9487 #871E94
tetradic
#94871E #1E944C #1E2B94 #941E66
square
#94871E #1E944C #1E2B94 #941E66
split-complementary
#94871E #1E6694 #4C1E94
monochromatic
#2E2A09 #615914 #94871E #C7B528 #DCCC51
Accessibility & contrast
On white
3.66
#94871E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#94871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94871E
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94871E | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A07D73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #94871e; /* rgb */ color: rgb(148, 135, 30); /* oklch */ color: oklch(61.7% 0.119 101.9);
Tailwind
colors: {
custom: {
50: '#b7a964',
500: '#94871e',
950: '#000000',
},
}SCSS
$custom: #94871e; $custom-light: #b7a964; $custom-dark: #000000;
JSON
{
"hex": "#94871e",
"rgb": {
"r": 148,
"g": 135,
"b": 30
},
"hsl": {
"h": 53.39,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.61673,
"c": 0.11932,
"h": 101.9
},
"luminance": 0.23718
}Semantic roles & 50–950 ramp
primary
#94871E
secondary
#4F5BBF
accent
#51E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A