#94981F#94981F
#94981F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.5% C 0.135 H 111.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #94981F |
|---|---|
| RGB | rgb(148, 152, 31) |
| HSL | hsl(62, 66%, 36%) |
| HSV | hsv(62, 80%, 60%) |
| CMYK | cmyk(2.6%, 0%, 79.6%, 40.4%) |
| CIE-LAB | lab(60.65, -15.73, 57.70) |
| CIE-LCH | lch(60.65, 59.81, 105.25°) |
| OKLab | oklab(65.54% -0.0497 0.1256) |
| OKLCH | oklch(65.54% 0.135 111.6) |
| XYZ | xyz(23.6891, 28.8519, 5.6172) |
| Luminance | 0.2885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.67
Baby Poop Green
#8F9805
ΔE00 1.71
Baby Shit Green
#889717
ΔE00 2.91
Vomit
#A2A415
ΔE00 4.30
Pea Soup Green
#94A617
ΔE00 4.92
Puke
#A5A502
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94981F #231F98
analogous
#985F1F #94981F #58981F
triadic
#94981F #1F9498 #981F94
tetradic
#94981F #1F985F #231F98 #981F58
square
#94981F #1F985F #231F98 #981F58
split-complementary
#94981F #1F5898 #5F1F98
monochromatic
#31320A #636515 #94981F #C5CB29 #D8DC55
Accessibility & contrast
On white
3.10
#94981F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#94981F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94981F
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94981F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94981F | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#9F8E82
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #94981f; /* rgb */ color: rgb(148, 152, 31); /* oklch */ color: oklch(65.5% 0.135 111.6);
Tailwind
colors: {
custom: {
50: '#b7b666',
500: '#94981f',
950: '#000000',
},
}SCSS
$custom: #94981f; $custom-light: #b7b666; $custom-dark: #000000;
JSON
{
"hex": "#94981f",
"rgb": {
"r": 148,
"g": 152,
"b": 31
},
"hsl": {
"h": 61.983,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.65539,
"c": 0.13506,
"h": 111.6
},
"luminance": 0.28851
}Semantic roles & 50–950 ramp
primary
#94981F
secondary
#5753C0
accent
#3FE944
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A