#94971F#94971F
#94971F is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.3% C 0.134 H 111.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #94971F |
|---|---|
| RGB | rgb(148, 151, 31) |
| HSL | hsl(62, 66%, 36%) |
| HSV | hsv(62, 79%, 59%) |
| CMYK | cmyk(2%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(60.36, -15.21, 57.45) |
| CIE-LCH | lch(60.36, 59.43, 104.83°) |
| OKLab | oklab(65.31% -0.0482 0.125) |
| OKLCH | oklch(65.31% 0.134 111.1) |
| XYZ | xyz(23.5275, 28.5287, 5.5633) |
| Luminance | 0.2853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.85
Baby Poop Green
#8F9805
ΔE00 1.89
Baby Shit Green
#889717
ΔE00 3.08
Vomit
#A2A415
ΔE00 4.52
Pea Soup Green
#94A617
ΔE00 5.29
Puke
#A5A502
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94971F #221F97
analogous
#975E1F #94971F #58971F
triadic
#94971F #1F9497 #971F94
tetradic
#94971F #1F975E #221F97 #971F58
square
#94971F #1F975E #221F97 #971F58
split-complementary
#94971F #1F5897 #5E1F97
monochromatic
#30310A #626415 #94971F #C6CA29 #D9DC54
Accessibility & contrast
On white
3.13
#94971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#94971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94971F
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94971F | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#9F8D81
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #94971f; /* rgb */ color: rgb(148, 151, 31); /* oklch */ color: oklch(65.3% 0.134 111.1);
Tailwind
colors: {
custom: {
50: '#b7b566',
500: '#94971f',
950: '#000000',
},
}SCSS
$custom: #94971f; $custom-light: #b7b566; $custom-dark: #000000;
JSON
{
"hex": "#94971f",
"rgb": {
"r": 148,
"g": 151,
"b": 31
},
"hsl": {
"h": 61.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.65309,
"c": 0.13402,
"h": 111.1
},
"luminance": 0.28528
}Semantic roles & 50–950 ramp
primary
#94971F
secondary
#5552BF
accent
#3FE943
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A