#968E1F#968E1F
#968E1F is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.125 H 105.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #968E1F |
|---|---|
| RGB | rgb(150, 142, 31) |
| HSL | hsl(56, 66%, 35%) |
| HSV | hsv(56, 79%, 59%) |
| CMYK | cmyk(0%, 5.3%, 79.3%, 41.2%) |
| CIE-LAB | lab(57.97, -9.54, 55.37) |
| CIE-LCH | lch(57.97, 56.18, 99.78°) |
| OKLab | oklab(63.44% -0.0325 0.1205) |
| OKLCH | oklch(63.44% 0.125 105.1) |
| XYZ | xyz(22.4990, 25.9299, 5.1159) |
| Luminance | 0.2593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.14
Baby Poop Green
#8F9805
ΔE00 5.25
Olive
#808000
ΔE00 6.11
Baby Poo
#AB9004
ΔE00 6.23
Baby Shit Green
#889717
ΔE00 6.28
Diarrhea
#9F8303
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968E1F #1F2796
analogous
#96521F #968E1F #63961F
triadic
#968E1F #1F968E #8E1F96
tetradic
#968E1F #1F9652 #1F2796 #961F63
square
#968E1F #1F9652 #1F2796 #961F63
split-complementary
#968E1F #1F6396 #521F96
monochromatic
#312E0A #635E15 #968E1F #C9BE29 #DCD254
Accessibility & contrast
On white
3.39
#968E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#968E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968E1F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968E1F | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A28479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968e1f; /* rgb */ color: rgb(150, 142, 31); /* oklch */ color: oklch(63.4% 0.125 105.1);
Tailwind
colors: {
custom: {
50: '#b9ae65',
500: '#968e1f',
950: '#000000',
},
}SCSS
$custom: #968e1f; $custom-light: #b9ae65; $custom-dark: #000000;
JSON
{
"hex": "#968e1f",
"rgb": {
"r": 150,
"g": 142,
"b": 31
},
"hsl": {
"h": 55.966,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.63441,
"c": 0.12481,
"h": 105.1
},
"luminance": 0.25929
}Semantic roles & 50–950 ramp
primary
#968E1F
secondary
#5259BF
accent
#4BE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A