#968D1F#968D1F
#968D1F is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.124 H 104.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #968D1F |
|---|---|
| RGB | rgb(150, 141, 31) |
| HSL | hsl(55, 66%, 35%) |
| HSV | hsv(55, 79%, 59%) |
| CMYK | cmyk(0%, 6%, 79.3%, 41.2%) |
| CIE-LAB | lab(57.69, -9.00, 55.11) |
| CIE-LCH | lch(57.69, 55.84, 99.28°) |
| OKLab | oklab(63.22% -0.031 0.12) |
| OKLCH | oklch(63.22% 0.124 104.5) |
| XYZ | xyz(22.3509, 25.6336, 5.0665) |
| Luminance | 0.2563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.54
Baby Poop Green
#8F9805
ΔE00 5.65
Olive
#808000
ΔE00 5.98
Baby Poo
#AB9004
ΔE00 6.08
Diarrhea
#9F8303
ΔE00 6.34
Baby Shit Brown
#AD900D
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968D1F #1F2896
analogous
#96511F #968D1F #63961F
triadic
#968D1F #1F968D #8D1F96
tetradic
#968D1F #1F9651 #1F2896 #961F63
square
#968D1F #1F9651 #1F2896 #961F63
split-complementary
#968D1F #1F6396 #511F96
monochromatic
#312E0A #635D15 #968D1F #C9BD29 #DCD154
Accessibility & contrast
On white
3.43
#968D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#968D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968D1F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968D1F | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968d1f; /* rgb */ color: rgb(150, 141, 31); /* oklch */ color: oklch(63.2% 0.124 104.5);
Tailwind
colors: {
custom: {
50: '#b9ae65',
500: '#968d1f',
950: '#000000',
},
}SCSS
$custom: #968d1f; $custom-light: #b9ae65; $custom-dark: #000000;
JSON
{
"hex": "#968d1f",
"rgb": {
"r": 150,
"g": 141,
"b": 31
},
"hsl": {
"h": 55.462,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.63216,
"c": 0.1239,
"h": 104.5
},
"luminance": 0.25633
}Semantic roles & 50–950 ramp
primary
#968D1F
secondary
#525ABF
accent
#4CE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A