#968C1F#968C1F
#968C1F is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.123 H 103.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #968C1F |
|---|---|
| RGB | rgb(150, 140, 31) |
| HSL | hsl(55, 66%, 35%) |
| HSV | hsv(55, 79%, 59%) |
| CMYK | cmyk(0%, 6.7%, 79.3%, 41.2%) |
| CIE-LAB | lab(57.41, -8.46, 54.86) |
| CIE-LCH | lch(57.41, 55.51, 98.77°) |
| OKLab | oklab(62.99% -0.0295 0.1194) |
| OKLCH | oklch(62.99% 0.123 103.9) |
| XYZ | xyz(22.2041, 25.3401, 5.0176) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.88
Pea Soup
#929901
ΔE00 5.94
Baby Poo
#AB9004
ΔE00 5.96
Diarrhea
#9F8303
ΔE00 5.98
Baby Poop Green
#8F9805
ΔE00 6.05
Baby Shit Brown
#AD900D
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C1F #1F2996
analogous
#96501F #968C1F #64961F
triadic
#968C1F #1F968C #8C1F96
tetradic
#968C1F #1F9650 #1F2996 #961F64
square
#968C1F #1F9650 #1F2996 #961F64
split-complementary
#968C1F #1F6496 #501F96
monochromatic
#312D0A #635D15 #968C1F #C9BB29 #DCD054
Accessibility & contrast
On white
3.46
#968C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#968C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C1F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C1F | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c1f; /* rgb */ color: rgb(150, 140, 31); /* oklch */ color: oklch(63.0% 0.123 103.9);
Tailwind
colors: {
custom: {
50: '#b9ad65',
500: '#968c1f',
950: '#000000',
},
}SCSS
$custom: #968c1f; $custom-light: #b9ad65; $custom-dark: #000000;
JSON
{
"hex": "#968c1f",
"rgb": {
"r": 150,
"g": 140,
"b": 31
},
"hsl": {
"h": 54.958,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.62991,
"c": 0.123,
"h": 103.9
},
"luminance": 0.25339
}Semantic roles & 50–950 ramp
primary
#968C1F
secondary
#525BBF
accent
#4DE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A