#81791E#81791E
#81791E is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.108 H 104.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #81791E |
|---|---|
| RGB | rgb(129, 121, 30) |
| HSL | hsl(55, 62%, 31%) |
| HSV | hsv(55, 77%, 51%) |
| CMYK | cmyk(0%, 6.2%, 76.7%, 49.4%) |
| CIE-LAB | lab(50.02, -7.78, 47.69) |
| CIE-LCH | lch(50.02, 48.32, 99.26°) |
| OKLab | oklab(56.65% -0.0265 0.1049) |
| OKLCH | oklch(56.65% 0.108 104.2) |
| XYZ | xyz(16.1257, 18.4363, 3.9372) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.49
Olive
#808000
ΔE00 4.02
Hazel
#8E7618
ΔE00 5.28
Olive (survey)
#6E750E
ΔE00 5.28
Brown Green
#706C11
ΔE00 5.47
Browny Green
#6F6C0A
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81791E #1E2681
analogous
#81471E #81791E #57811E
triadic
#81791E #1E8179 #791E81
tetradic
#81791E #1E8147 #1E2681 #811E57
square
#81791E #1E8147 #1E2681 #811E57
split-complementary
#81791E #1E5781 #471E81
monochromatic
#1E1C07 #4F4A12 #81791E #B3A82A #D4C846
Accessibility & contrast
On white
4.48
#81791E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#81791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81791E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81791E | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#8B7068
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #81791e; /* rgb */ color: rgb(129, 121, 30); /* oklch */ color: oklch(56.6% 0.108 104.2);
Tailwind
colors: {
custom: {
50: '#a99f61',
500: '#81791e',
950: '#000000',
},
}SCSS
$custom: #81791e; $custom-light: #a99f61; $custom-dark: #000000;
JSON
{
"hex": "#81791e",
"rgb": {
"r": 129,
"g": 121,
"b": 30
},
"hsl": {
"h": 55.152,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.56649,
"c": 0.10816,
"h": 104.2
},
"luminance": 0.18436
}Semantic roles & 50–950 ramp
primary
#81791E
secondary
#4750B4
accent
#50E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A