#968F27#968F27
#968F27 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.7% C 0.121 H 105.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #968F27 |
|---|---|
| RGB | rgb(150, 143, 39) |
| HSL | hsl(56, 59%, 37%) |
| HSV | hsv(56, 74%, 59%) |
| CMYK | cmyk(0%, 4.7%, 74%, 41.2%) |
| CIE-LAB | lab(58.30, -9.73, 52.88) |
| CIE-LCH | lch(58.30, 53.77, 100.42°) |
| OKLab | oklab(63.72% -0.0323 0.1168) |
| OKLCH | oklch(63.72% 0.121 105.5) |
| XYZ | xyz(22.7673, 26.2763, 5.7916) |
| Luminance | 0.2627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.11
Baby Poop Green
#8F9805
ΔE00 5.17
Baby Shit Green
#889717
ΔE00 6.00
Olive
#808000
ΔE00 6.38
Baby Poo
#AB9004
ΔE00 6.69
Baby Shit Brown
#AD900D
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968F27 #272E96
analogous
#965827 #968F27 #669627
triadic
#968F27 #27968F #8F2796
tetradic
#968F27 #279658 #272E96 #962766
square
#968F27 #279658 #272E96 #962766
split-complementary
#968F27 #276696 #582796
monochromatic
#35320E #65611A #968F27 #C7BD34 #D6CF61
Accessibility & contrast
On white
3.36
#968F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#968F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968F27
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968F27 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#A1857B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #968f27; /* rgb */ color: rgb(150, 143, 39); /* oklch */ color: oklch(63.7% 0.121 105.5);
Tailwind
colors: {
custom: {
50: '#b8af69',
500: '#968f27',
950: '#000000',
},
}SCSS
$custom: #968f27; $custom-light: #b8af69; $custom-dark: #000000;
JSON
{
"hex": "#968f27",
"rgb": {
"r": 150,
"g": 143,
"b": 39
},
"hsl": {
"h": 56.216,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.63717,
"c": 0.12117,
"h": 105.5
},
"luminance": 0.26275
}Semantic roles & 50–950 ramp
primary
#968F27
secondary
#5D63BC
accent
#50E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A