#81841C#81841C
#81841C is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.2% C 0.120 H 111.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #81841C |
|---|---|
| RGB | rgb(129, 132, 28) |
| HSL | hsl(62, 65%, 31%) |
| HSV | hsv(62, 79%, 52%) |
| CMYK | cmyk(2.3%, 0%, 78.8%, 48.2%) |
| CIE-LAB | lab(53.23, -13.86, 51.36) |
| CIE-LCH | lch(53.23, 53.20, 105.10°) |
| OKLab | oklab(59.2% -0.0437 0.1123) |
| OKLCH | oklch(59.2% 0.12 111.3) |
| XYZ | xyz(17.5147, 21.2540, 4.2782) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.35
Shit Green
#758000
ΔE00 3.16
Swamp Green
#748500
ΔE00 3.75
Poop Green
#6F7C00
ΔE00 4.70
Murky Green
#6C7A0E
ΔE00 5.58
Drab
#828344
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81841C #1F1C84
analogous
#84531C #81841C #4D841C
triadic
#81841C #1C8184 #841C81
tetradic
#81841C #1C8453 #1F1C84 #841C4D
square
#81841C #1C8453 #1F1C84 #841C4D
split-complementary
#81841C #1C4D84 #531C84
monochromatic
#1E1F07 #505211 #81841C #B2B627 #D3D743
Accessibility & contrast
On white
4.00
#81841C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#81841C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81841C
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81841C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81841C | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#8A7B71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #81841c; /* rgb */ color: rgb(129, 132, 28); /* oklch */ color: oklch(59.2% 0.120 111.3);
Tailwind
colors: {
custom: {
50: '#a9a762',
500: '#81841c',
950: '#000000',
},
}SCSS
$custom: #81841c; $custom-light: #a9a762; $custom-dark: #000000;
JSON
{
"hex": "#81841c",
"rgb": {
"r": 129,
"g": 132,
"b": 28
},
"hsl": {
"h": 61.731,
"s": 65,
"l": 31.373
},
"oklch": {
"l": 0.59203,
"c": 0.12048,
"h": 111.3
},
"luminance": 0.21253
}Semantic roles & 50–950 ramp
primary
#81841C
secondary
#4845B7
accent
#40E845
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A