#94871F#94871F
#94871F is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.119 H 101.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #94871F |
|---|---|
| RGB | rgb(148, 135, 31) |
| HSL | hsl(53, 65%, 35%) |
| HSV | hsv(53, 79%, 58%) |
| CMYK | cmyk(0%, 8.8%, 79.1%, 42%) |
| CIE-LAB | lab(55.81, -6.66, 53.34) |
| CIE-LCH | lch(55.81, 53.76, 97.11°) |
| OKLab | oklab(61.68% -0.0243 0.1163) |
| OKLCH | oklch(61.68% 0.119 101.8) |
| XYZ | xyz(21.1250, 23.7237, 4.7625) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.76
Diarrhea
#9F8303
ΔE00 4.88
Olive
#808000
ΔE00 5.31
Dark Mustard
#A88905
ΔE00 6.04
Baby Poo
#AB9004
ΔE00 6.24
Baby Shit Brown
#AD900D
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94871F #1F2C94
analogous
#944C1F #94871F #67941F
triadic
#94871F #1F9487 #871F94
tetradic
#94871F #1F944C #1F2C94 #941F67
square
#94871F #1F944C #1F2C94 #941F67
split-complementary
#94871F #1F6794 #4C1F94
monochromatic
#2F2B0A #615914 #94871F #C7B52A #DBCC53
Accessibility & contrast
On white
3.66
#94871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#94871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94871F
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94871F | 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)
#948305
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A07D74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #94871f; /* rgb */ color: rgb(148, 135, 31); /* oklch */ color: oklch(61.7% 0.119 101.8);
Tailwind
colors: {
custom: {
50: '#b7a964',
500: '#94871f',
950: '#000000',
},
}SCSS
$custom: #94871f; $custom-light: #b7a964; $custom-dark: #000000;
JSON
{
"hex": "#94871f",
"rgb": {
"r": 148,
"g": 135,
"b": 31
},
"hsl": {
"h": 53.333,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.61679,
"c": 0.11878,
"h": 101.8
},
"luminance": 0.23723
}Semantic roles & 50–950 ramp
primary
#94871F
secondary
#515DBE
accent
#52E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A