#81731E#81731E
#81731E is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.103 H 99.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #81731E |
|---|---|
| RGB | rgb(129, 115, 30) |
| HSL | hsl(52, 62%, 31%) |
| HSV | hsv(52, 77%, 51%) |
| CMYK | cmyk(0%, 10.9%, 76.7%, 49.4%) |
| CIE-LAB | lab(48.29, -4.41, 46.05) |
| CIE-LCH | lch(48.29, 46.26, 95.47°) |
| OKLab | oklab(55.27% -0.017 0.1014) |
| OKLCH | oklch(55.27% 0.103 99.5) |
| XYZ | xyz(15.4191, 17.0231, 3.7017) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.38
Hazel
#8E7618
ΔE00 3.93
Brown Green
#706C11
ΔE00 4.76
Browny Green
#6F6C0A
ΔE00 5.09
Poo
#8F7303
ΔE00 5.13
Baby Poop
#937C00
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81731E #1E2C81
analogous
#81411E #81731E #5D811E
triadic
#81731E #1E8173 #731E81
tetradic
#81731E #1E8141 #1E2C81 #811E5D
square
#81731E #1E8141 #1E2C81 #811E5D
split-complementary
#81731E #1E5D81 #411E81
monochromatic
#1E1A07 #4F4712 #81731E #B39F2A #D4C046
Accessibility & contrast
On white
4.77
#81731E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#81731E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #81731E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81731E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81731E | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700E
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#8B6A63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #81731e; /* rgb */ color: rgb(129, 115, 30); /* oklch */ color: oklch(55.3% 0.103 99.5);
Tailwind
colors: {
custom: {
50: '#a99b61',
500: '#81731e',
950: '#000000',
},
}SCSS
$custom: #81731e; $custom-light: #a99b61; $custom-dark: #000000;
JSON
{
"hex": "#81731e",
"rgb": {
"r": 129,
"g": 115,
"b": 30
},
"hsl": {
"h": 51.515,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.55273,
"c": 0.1028,
"h": 99.5
},
"luminance": 0.17022
}Semantic roles & 50–950 ramp
primary
#81731E
secondary
#4756B4
accent
#59E542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79