#817B19#817B19
#817B19 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.113 H 105.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #817B19 |
|---|---|
| RGB | rgb(129, 123, 25) |
| HSL | hsl(57, 68%, 30%) |
| HSV | hsv(57, 81%, 51%) |
| CMYK | cmyk(0%, 4.7%, 80.6%, 49.4%) |
| CIE-LAB | lab(50.57, -9.10, 49.95) |
| CIE-LCH | lch(50.57, 50.77, 100.32°) |
| OKLab | oklab(57.08% -0.0307 0.1087) |
| OKLCH | oklch(57.08% 0.113 105.8) |
| XYZ | xyz(16.3124, 18.9039, 3.7091) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.91
Ugly Brown
#7D7103
ΔE00 4.07
Shit Green
#758000
ΔE00 4.96
Olive (survey)
#6E750E
ΔE00 5.11
Poop Green
#6F7C00
ΔE00 5.50
Hazel
#8E7618
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817B19 #191F81
analogous
#814719 #817B19 #538119
triadic
#817B19 #19817B #7B1981
tetradic
#817B19 #198147 #191F81 #811953
square
#817B19 #198147 #191F81 #811953
split-complementary
#817B19 #195381 #471981
monochromatic
#1A1905 #4E4A0F #817B19 #B4AC23 #D9D03B
Accessibility & contrast
On white
4.39
#817B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#817B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817B19
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817B19 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#8B7269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #817b19; /* rgb */ color: rgb(129, 123, 25); /* oklch */ color: oklch(57.1% 0.113 105.8);
Tailwind
colors: {
custom: {
50: '#a9a05f',
500: '#817b19',
950: '#000000',
},
}SCSS
$custom: #817b19; $custom-light: #a9a05f; $custom-dark: #000000;
JSON
{
"hex": "#817b19",
"rgb": {
"r": 129,
"g": 123,
"b": 25
},
"hsl": {
"h": 56.538,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.57081,
"c": 0.11291,
"h": 105.8
},
"luminance": 0.18903
}Semantic roles & 50–950 ramp
primary
#817B19
secondary
#4148B5
accent
#47EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79