#81791F#81791F
#81791F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.108 H 104.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #81791F |
|---|---|
| RGB | rgb(129, 121, 31) |
| HSL | hsl(55, 61%, 31%) |
| HSV | hsv(55, 76%, 51%) |
| CMYK | cmyk(0%, 6.2%, 76%, 49.4%) |
| CIE-LAB | lab(50.03, -7.73, 47.32) |
| CIE-LCH | lch(50.03, 47.95, 99.27°) |
| OKLab | oklab(56.66% -0.0263 0.1043) |
| OKLCH | oklch(56.66% 0.108 104.1) |
| XYZ | xyz(16.1387, 18.4415, 4.0055) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.55
Olive
#808000
ΔE00 4.09
Hazel
#8E7618
ΔE00 5.29
Olive (survey)
#6E750E
ΔE00 5.29
Brown Green
#706C11
ΔE00 5.47
Browny Green
#6F6C0A
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81791F #1F2781
analogous
#81481F #81791F #58811F
triadic
#81791F #1F8179 #791F81
tetradic
#81791F #1F8148 #1F2781 #811F58
square
#81791F #1F8148 #1F2781 #811F58
split-complementary
#81791F #1F5881 #481F81
monochromatic
#1E1C07 #504B13 #81791F #B2A72B #D3C847
Accessibility & contrast
On white
4.48
#81791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#81791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81791F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81791F | 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)
#84750E
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#8B7068
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #81791f; /* rgb */ color: rgb(129, 121, 31); /* oklch */ color: oklch(56.7% 0.108 104.1);
Tailwind
colors: {
custom: {
50: '#a99f62',
500: '#81791f',
950: '#000000',
},
}SCSS
$custom: #81791f; $custom-light: #a99f62; $custom-dark: #000000;
JSON
{
"hex": "#81791f",
"rgb": {
"r": 129,
"g": 121,
"b": 31
},
"hsl": {
"h": 55.102,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.56656,
"c": 0.10753,
"h": 104.1
},
"luminance": 0.18441
}Semantic roles & 50–950 ramp
primary
#81791F
secondary
#4851B4
accent
#51E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A