#9E941F#9E941F
#9E941F is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.129 H 104.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E941F |
|---|---|
| RGB | rgb(158, 148, 31) |
| HSL | hsl(55, 67%, 37%) |
| HSV | hsv(55, 80%, 62%) |
| CMYK | cmyk(0%, 6.3%, 80.4%, 38%) |
| CIE-LAB | lab(60.38, -9.13, 57.79) |
| CIE-LCH | lch(60.38, 58.51, 98.98°) |
| OKLab | oklab(65.53% -0.0318 0.1253) |
| OKLCH | oklch(65.53% 0.129 104.2) |
| XYZ | xyz(24.9389, 28.5489, 5.4929) |
| Luminance | 0.2855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.71
Baby Poop Green
#8F9805
ΔE00 5.12
Baby Poo
#AB9004
ΔE00 5.20
Vomit
#A2A415
ΔE00 5.58
Brown Yellow
#B29705
ΔE00 5.60
Baby Shit Brown
#AD900D
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E941F #1F299E
analogous
#9E551F #9E941F #689E1F
triadic
#9E941F #1F9E94 #941F9E
tetradic
#9E941F #1F9E55 #1F299E #9E1F68
square
#9E941F #1F9E55 #1F299E #9E1F68
split-complementary
#9E941F #1F689E #551F9E
monochromatic
#38340B #6B6415 #9E941F #D1C429 #DED459
Accessibility & contrast
On white
3.13
#9E941F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#9E941F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E941F
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E941F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E941F | 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)
#A28F00
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#AA897F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9e941f; /* rgb */ color: rgb(158, 148, 31); /* oklch */ color: oklch(65.5% 0.129 104.2);
Tailwind
colors: {
custom: {
50: '#beb366',
500: '#9e941f',
950: '#000000',
},
}SCSS
$custom: #9e941f; $custom-light: #beb366; $custom-dark: #000000;
JSON
{
"hex": "#9e941f",
"rgb": {
"r": 158,
"g": 148,
"b": 31
},
"hsl": {
"h": 55.276,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.65534,
"c": 0.12931,
"h": 104.2
},
"luminance": 0.28548
}Semantic roles & 50–950 ramp
primary
#9E941F
secondary
#565FC2
accent
#4BEA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A