#857F1F#857F1F
#857F1F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.113 H 105.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #857F1F |
|---|---|
| RGB | rgb(133, 127, 31) |
| HSL | hsl(56, 62%, 32%) |
| HSV | hsv(56, 77%, 52%) |
| CMYK | cmyk(0%, 4.5%, 76.7%, 47.8%) |
| CIE-LAB | lab(52.14, -9.18, 49.44) |
| CIE-LCH | lch(52.14, 50.29, 100.52°) |
| OKLab | oklab(58.42% -0.0306 0.1086) |
| OKLCH | oklch(58.42% 0.113 105.7) |
| XYZ | xyz(17.5103, 20.2649, 4.2852) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.67
Shit Green
#758000
ΔE00 5.04
Ugly Brown
#7D7103
ΔE00 5.50
Baby Poop
#937C00
ΔE00 5.79
Poop Green
#6F7C00
ΔE00 6.01
Drab
#828344
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#857F1F #1F2585
analogous
#854C1F #857F1F #58851F
triadic
#857F1F #1F857F #7F1F85
tetradic
#857F1F #1F854C #1F2585 #851F58
square
#857F1F #1F854C #1F2585 #851F58
split-complementary
#857F1F #1F5885 #4C1F85
monochromatic
#222008 #535013 #857F1F #B7AE2B #D5CD4A
Accessibility & contrast
On white
4.16
#857F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#857F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #857F1F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##857F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##857F1F | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#8F766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #857f1f; /* rgb */ color: rgb(133, 127, 31); /* oklch */ color: oklch(58.4% 0.113 105.7);
Tailwind
colors: {
custom: {
50: '#aca363',
500: '#857f1f',
950: '#000000',
},
}SCSS
$custom: #857f1f; $custom-light: #aca363; $custom-dark: #000000;
JSON
{
"hex": "#857f1f",
"rgb": {
"r": 133,
"g": 127,
"b": 31
},
"hsl": {
"h": 56.471,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.58423,
"c": 0.11284,
"h": 105.7
},
"luminance": 0.20264
}Semantic roles & 50–950 ramp
primary
#857F1F
secondary
#494FB7
accent
#4CE543
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F06
muted
#807F7A