#94871C#94871C
#94871C is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.120 H 102.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #94871C |
|---|---|
| RGB | rgb(148, 135, 28) |
| HSL | hsl(54, 68%, 35%) |
| HSV | hsv(54, 81%, 58%) |
| CMYK | cmyk(0%, 8.8%, 81.1%, 42%) |
| CIE-LAB | lab(55.80, -6.77, 54.31) |
| CIE-LCH | lch(55.80, 54.73, 97.11°) |
| OKLab | oklab(61.66% -0.0249 0.1177) |
| OKLCH | oklch(61.66% 0.12 102) |
| XYZ | xyz(21.0873, 23.7087, 4.5639) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.69
Diarrhea
#9F8303
ΔE00 4.80
Olive
#808000
ΔE00 5.25
Dark Mustard
#A88905
ΔE00 5.96
Baby Poo
#AB9004
ΔE00 6.14
Baby Shit Brown
#AD900D
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94871C #1C2994
analogous
#944B1C #94871C #65941C
triadic
#94871C #1C9487 #871C94
tetradic
#94871C #1C944B #1C2994 #941C65
square
#94871C #1C944B #1C2994 #941C65
split-complementary
#94871C #1C6594 #4B1C94
monochromatic
#2D2909 #615812 #94871C #C7B626 #DDCE4D
Accessibility & contrast
On white
3.66
#94871C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#94871C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94871C
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94871C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94871C | 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)
#948300
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A07D73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #94871c; /* rgb */ color: rgb(148, 135, 28); /* oklch */ color: oklch(61.7% 0.120 102.0);
Tailwind
colors: {
custom: {
50: '#b7a963',
500: '#94871c',
950: '#000000',
},
}SCSS
$custom: #94871c; $custom-light: #b7a963; $custom-dark: #000000;
JSON
{
"hex": "#94871c",
"rgb": {
"r": 148,
"g": 135,
"b": 28
},
"hsl": {
"h": 53.5,
"s": 68.182,
"l": 34.51
},
"oklch": {
"l": 0.61662,
"c": 0.12034,
"h": 102
},
"luminance": 0.23708
}Semantic roles & 50–950 ramp
primary
#94871C
secondary
#4C59C0
accent
#50EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A