#81851B#81851B
#81851B is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.122 H 111.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #81851B |
|---|---|
| RGB | rgb(129, 133, 27) |
| HSL | hsl(62, 66%, 31%) |
| HSV | hsv(62, 80%, 52%) |
| CMYK | cmyk(3%, 0%, 79.7%, 47.8%) |
| CIE-LAB | lab(53.52, -14.44, 51.95) |
| CIE-LCH | lch(53.52, 53.92, 105.53°) |
| OKLab | oklab(59.43% -0.0454 0.1133) |
| OKLCH | oklch(59.43% 0.122 111.8) |
| XYZ | xyz(17.6392, 21.5218, 4.2616) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.56
Shit Green
#758000
ΔE00 3.17
Swamp Green
#748500
ΔE00 3.52
Poop Green
#6F7C00
ΔE00 4.79
Murky Green
#6C7A0E
ΔE00 5.71
Dark Yellow Green
#728F02
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81851B #1F1B85
analogous
#85541B #81851B #4C851B
triadic
#81851B #1B8185 #851B81
tetradic
#81851B #1B8554 #1F1B85 #851B4C
square
#81851B #1B8554 #1F1B85 #851B4C
split-complementary
#81851B #1B4C85 #541B85
monochromatic
#1E1F06 #505211 #81851B #B2B825 #D3D942
Accessibility & contrast
On white
3.96
#81851B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#81851B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81851B
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81851B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81851B | 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)
#908125
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #81851b; /* rgb */ color: rgb(129, 133, 27); /* oklch */ color: oklch(59.4% 0.122 111.8);
Tailwind
colors: {
custom: {
50: '#a9a862',
500: '#81851b',
950: '#000000',
},
}SCSS
$custom: #81851b; $custom-light: #a9a862; $custom-dark: #000000;
JSON
{
"hex": "#81851b",
"rgb": {
"r": 129,
"g": 133,
"b": 27
},
"hsl": {
"h": 62.264,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.59433,
"c": 0.12208,
"h": 111.8
},
"luminance": 0.21521
}Semantic roles & 50–950 ramp
primary
#81851B
secondary
#4844B8
accent
#3FE945
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A