#817826#817826
#817826 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.5% C 0.102 H 103.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #817826 |
|---|---|
| RGB | rgb(129, 120, 38) |
| HSL | hsl(54, 54%, 33%) |
| HSV | hsv(54, 71%, 51%) |
| CMYK | cmyk(0%, 7%, 70.5%, 49.4%) |
| CIE-LAB | lab(49.79, -6.80, 44.25) |
| CIE-LCH | lch(49.79, 44.77, 98.73°) |
| OKLab | oklab(56.48% -0.0229 0.0991) |
| OKLCH | oklch(56.48% 0.102 103) |
| XYZ | xyz(16.1203, 18.2407, 4.5050) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.81
Olive
#808000
ΔE00 5.11
Hazel
#8E7618
ΔE00 5.18
Brown Green
#706C11
ΔE00 5.35
Browny Green
#6F6C0A
ΔE00 5.63
Olive (survey)
#6E750E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817826 #262F81
analogous
#814A26 #817826 #5C8126
triadic
#817826 #268178 #782681
tetradic
#817826 #26814A #262F81 #81265C
square
#817826 #26814A #262F81 #81265C
split-complementary
#817826 #265C81 #4A2681
monochromatic
#22200A #524C18 #817826 #B0A434 #CDC155
Accessibility & contrast
On white
4.52
#817826 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#817826 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817826
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817826 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#8B6F67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #817826; /* rgb */ color: rgb(129, 120, 38); /* oklch */ color: oklch(56.5% 0.102 103.0);
Tailwind
colors: {
custom: {
50: '#a89e65',
500: '#817826',
950: '#000000',
},
}SCSS
$custom: #817826; $custom-light: #a89e65; $custom-dark: #000000;
JSON
{
"hex": "#817826",
"rgb": {
"r": 129,
"g": 120,
"b": 38
},
"hsl": {
"h": 54.066,
"s": 54.491,
"l": 32.745
},
"oklch": {
"l": 0.5648,
"c": 0.10172,
"h": 103
},
"luminance": 0.1824
}Semantic roles & 50–950 ramp
primary
#817826
secondary
#515BB1
accent
#59DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A