#867F1B#867F1B
#867F1B is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.115 H 105.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #867F1B |
|---|---|
| RGB | rgb(134, 127, 27) |
| HSL | hsl(56, 66%, 32%) |
| HSV | hsv(56, 80%, 53%) |
| CMYK | cmyk(0%, 5.2%, 79.9%, 47.5%) |
| CIE-LAB | lab(52.20, -8.89, 50.93) |
| CIE-LCH | lch(52.20, 51.70, 99.90°) |
| OKLab | oklab(58.49% -0.0302 0.1109) |
| OKLCH | oklch(58.49% 0.115 105.2) |
| XYZ | xyz(17.6195, 20.3269, 4.0321) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.57
Shit Green
#758000
ΔE00 5.24
Baby Poop
#937C00
ΔE00 5.34
Ugly Brown
#7D7103
ΔE00 5.39
Hazel
#8E7618
ΔE00 5.98
Poop Green
#6F7C00
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867F1B #1B2286
analogous
#864A1B #867F1B #58861B
triadic
#867F1B #1B867F #7F1B86
tetradic
#867F1B #1B864A #1B2286 #861B58
square
#867F1B #1B864A #1B2286 #861B58
split-complementary
#867F1B #1B5886 #4A1B86
monochromatic
#201E06 #534F11 #867F1B #B9AF25 #D9CF42
Accessibility & contrast
On white
4.15
#867F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#867F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867F1B
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867F1B | 1.00 | 4.15 | 5.07 | 5.07 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A01
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#91766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #867f1b; /* rgb */ color: rgb(134, 127, 27); /* oklch */ color: oklch(58.5% 0.115 105.2);
Tailwind
colors: {
custom: {
50: '#ada361',
500: '#867f1b',
950: '#000000',
},
}SCSS
$custom: #867f1b; $custom-light: #ada361; $custom-dark: #000000;
JSON
{
"hex": "#867f1b",
"rgb": {
"r": 134,
"g": 127,
"b": 27
},
"hsl": {
"h": 56.075,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.58493,
"c": 0.11497,
"h": 105.2
},
"luminance": 0.20326
}Semantic roles & 50–950 ramp
primary
#867F1B
secondary
#444BB9
accent
#4AE93E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A