#81731F#81731F
#81731F is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.102 H 99.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #81731F |
|---|---|
| RGB | rgb(129, 115, 31) |
| HSL | hsl(51, 61%, 31%) |
| HSV | hsv(51, 76%, 51%) |
| CMYK | cmyk(0%, 10.9%, 76%, 49.4%) |
| CIE-LAB | lab(48.30, -4.37, 45.67) |
| CIE-LCH | lch(48.30, 45.88, 95.46°) |
| OKLab | oklab(55.28% -0.0168 0.1008) |
| OKLCH | oklch(55.28% 0.102 99.5) |
| XYZ | xyz(15.4321, 17.0283, 3.7700) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.49
Hazel
#8E7618
ΔE00 3.96
Brown Green
#706C11
ΔE00 4.78
Browny Green
#6F6C0A
ΔE00 5.12
Poo
#8F7303
ΔE00 5.18
Baby Poop
#937C00
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81731F #1F2D81
analogous
#81421F #81731F #5E811F
triadic
#81731F #1F8173 #731F81
tetradic
#81731F #1F8142 #1F2D81 #811F5E
square
#81731F #1F8142 #1F2D81 #811F5E
split-complementary
#81731F #1F5E81 #421F81
monochromatic
#1E1B07 #504713 #81731F #B29F2B #D3BF47
Accessibility & contrast
On white
4.77
#81731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#81731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #81731F
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81731F | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#8B6A63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #81731f; /* rgb */ color: rgb(129, 115, 31); /* oklch */ color: oklch(55.3% 0.102 99.5);
Tailwind
colors: {
custom: {
50: '#a99b61',
500: '#81731f',
950: '#000000',
},
}SCSS
$custom: #81731f; $custom-light: #a99b61; $custom-dark: #000000;
JSON
{
"hex": "#81731f",
"rgb": {
"r": 129,
"g": 115,
"b": 31
},
"hsl": {
"h": 51.429,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.5528,
"c": 0.10215,
"h": 99.5
},
"luminance": 0.17028
}Semantic roles & 50–950 ramp
primary
#81731F
secondary
#4857B4
accent
#5AE443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79