#81831A#81831A
#81831A is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.120 H 110.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #81831A |
|---|---|
| RGB | rgb(129, 131, 26) |
| HSL | hsl(61, 67%, 31%) |
| HSV | hsv(61, 80%, 51%) |
| CMYK | cmyk(1.5%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(52.92, -13.41, 51.73) |
| CIE-LCH | lch(52.92, 53.44, 104.53°) |
| OKLab | oklab(58.96% -0.0426 0.1127) |
| OKLCH | oklch(58.96% 0.12 110.7) |
| XYZ | xyz(17.3566, 20.9748, 4.1113) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.96
Shit Green
#758000
ΔE00 3.13
Swamp Green
#748500
ΔE00 3.95
Poop Green
#6F7C00
ΔE00 4.61
Murky Green
#6C7A0E
ΔE00 5.51
Olive (survey)
#6E750E
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81831A #1C1A83
analogous
#83501A #81831A #4C831A
triadic
#81831A #1A8183 #831A81
tetradic
#81831A #1A8350 #1C1A83 #831A4C
square
#81831A #1A8350 #1C1A83 #831A4C
split-complementary
#81831A #1A4C83 #501A83
monochromatic
#1C1D06 #4F5010 #81831A #B3B624 #D6D93F
Accessibility & contrast
On white
4.04
#81831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#81831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81831A
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81831A | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#8B7A70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #81831a; /* rgb */ color: rgb(129, 131, 26); /* oklch */ color: oklch(59.0% 0.120 110.7);
Tailwind
colors: {
custom: {
50: '#a9a661',
500: '#81831a',
950: '#000000',
},
}SCSS
$custom: #81831a; $custom-light: #a9a661; $custom-dark: #000000;
JSON
{
"hex": "#81831a",
"rgb": {
"r": 129,
"g": 131,
"b": 26
},
"hsl": {
"h": 61.143,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.58956,
"c": 0.12047,
"h": 110.7
},
"luminance": 0.20974
}Semantic roles & 50–950 ramp
primary
#81831A
secondary
#4442B7
accent
#3EEA41
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A