#817818#817818
#817818 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.111 H 103.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #817818 |
|---|---|
| RGB | rgb(129, 120, 24) |
| HSL | hsl(55, 69%, 30%) |
| HSV | hsv(55, 81%, 51%) |
| CMYK | cmyk(0%, 7%, 81.4%, 49.4%) |
| CIE-LAB | lab(49.70, -7.48, 49.49) |
| CIE-LCH | lch(49.70, 50.05, 98.59°) |
| OKLab | oklab(56.38% -0.0262 0.1075) |
| OKLCH | oklch(56.38% 0.111 103.7) |
| XYZ | xyz(15.9353, 18.1667, 3.5311) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.88
Olive
#808000
ΔE00 4.07
Hazel
#8E7618
ΔE00 4.95
Brown Green
#706C11
ΔE00 5.29
Olive (survey)
#6E750E
ΔE00 5.40
Browny Green
#6F6C0A
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817818 #182181
analogous
#814318 #817818 #568118
triadic
#817818 #188178 #781881
tetradic
#817818 #188143 #182181 #811856
square
#817818 #188143 #182181 #811856
split-complementary
#817818 #185681 #431881
monochromatic
#1A1805 #4D480E #817818 #B5A822 #DACC39
Accessibility & contrast
On white
4.53
#817818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#817818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817818
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817818 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#8B6F66
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #817818; /* rgb */ color: rgb(129, 120, 24); /* oklch */ color: oklch(56.4% 0.111 103.7);
Tailwind
colors: {
custom: {
50: '#a99e5e',
500: '#817818',
950: '#000000',
},
}SCSS
$custom: #817818; $custom-light: #a99e5e; $custom-dark: #000000;
JSON
{
"hex": "#817818",
"rgb": {
"r": 129,
"g": 120,
"b": 24
},
"hsl": {
"h": 54.857,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.56381,
"c": 0.11063,
"h": 103.7
},
"luminance": 0.18166
}Semantic roles & 50–950 ramp
primary
#817818
secondary
#404AB5
accent
#4BEB3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79