#89821F#89821F
#89821F is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.115 H 105.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #89821F |
|---|---|
| RGB | rgb(137, 130, 31) |
| HSL | hsl(56, 63%, 33%) |
| HSV | hsv(56, 77%, 54%) |
| CMYK | cmyk(0%, 5.1%, 77.4%, 46.3%) |
| CIE-LAB | lab(53.37, -8.98, 50.72) |
| CIE-LCH | lch(53.37, 51.51, 100.04°) |
| OKLab | oklab(59.49% -0.0302 0.1112) |
| OKLCH | oklch(59.49% 0.115 105.2) |
| XYZ | xyz(18.5473, 21.3833, 4.4465) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.93
Baby Poop
#937C00
ΔE00 5.48
Shit Green
#758000
ΔE00 5.56
Drab
#828344
ΔE00 6.41
Hazel
#8E7618
ΔE00 6.48
Ugly Brown
#7D7103
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89821F #1F2689
analogous
#894D1F #89821F #5B891F
triadic
#89821F #1F8982 #821F89
tetradic
#89821F #1F894D #1F2689 #891F5B
square
#89821F #1F894D #1F2689 #891F5B
split-complementary
#89821F #1F5B89 #4D1F89
monochromatic
#252308 #575314 #89821F #BBB12A #D6CD4C
Accessibility & contrast
On white
3.98
#89821F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#89821F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89821F
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89821F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89821F | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#94796F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #89821f; /* rgb */ color: rgb(137, 130, 31); /* oklch */ color: oklch(59.5% 0.115 105.2);
Tailwind
colors: {
custom: {
50: '#afa663',
500: '#89821f',
950: '#000000',
},
}SCSS
$custom: #89821f; $custom-light: #afa663; $custom-dark: #000000;
JSON
{
"hex": "#89821f",
"rgb": {
"r": 137,
"g": 130,
"b": 31
},
"hsl": {
"h": 56.038,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.59491,
"c": 0.1152,
"h": 105.2
},
"luminance": 0.21383
}Semantic roles & 50–950 ramp
primary
#89821F
secondary
#4B52B9
accent
#4DE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A