#81851A#81851A
#81851A is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.123 H 111.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #81851A |
|---|---|
| RGB | rgb(129, 133, 26) |
| HSL | hsl(62, 67%, 31%) |
| HSV | hsv(62, 80%, 52%) |
| CMYK | cmyk(3%, 0%, 80.5%, 47.8%) |
| CIE-LAB | lab(53.51, -14.48, 52.26) |
| CIE-LCH | lch(53.51, 54.23, 105.48°) |
| OKLab | oklab(59.43% -0.0456 0.1138) |
| OKLCH | oklch(59.43% 0.123 111.8) |
| XYZ | xyz(17.6279, 21.5172, 4.2017) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.50
Shit Green
#758000
ΔE00 3.14
Swamp Green
#748500
ΔE00 3.50
Poop Green
#6F7C00
ΔE00 4.78
Murky Green
#6C7A0E
ΔE00 5.73
Dark Yellow Green
#728F02
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81851A #1E1A85
analogous
#85531A #81851A #4B851A
triadic
#81851A #1A8185 #851A81
tetradic
#81851A #1A8553 #1E1A85 #851A4B
square
#81851A #1A8553 #1E1A85 #851A4B
split-complementary
#81851A #1A4B85 #531A85
monochromatic
#1E1F06 #4F5210 #81851A #B3B824 #D4DA40
Accessibility & contrast
On white
3.96
#81851A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#81851A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81851A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81851A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81851A | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #81851a; /* rgb */ color: rgb(129, 133, 26); /* oklch */ color: oklch(59.4% 0.123 111.8);
Tailwind
colors: {
custom: {
50: '#a9a861',
500: '#81851a',
950: '#000000',
},
}SCSS
$custom: #81851a; $custom-light: #a9a861; $custom-dark: #000000;
JSON
{
"hex": "#81851a",
"rgb": {
"r": 129,
"g": 133,
"b": 26
},
"hsl": {
"h": 62.243,
"s": 67.296,
"l": 31.176
},
"oklch": {
"l": 0.59427,
"c": 0.1226,
"h": 111.8
},
"luminance": 0.21517
}Semantic roles & 50–950 ramp
primary
#81851A
secondary
#4742B8
accent
#3EEA44
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A