#89791F#89791F
#89791F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.107 H 98.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #89791F |
|---|---|
| RGB | rgb(137, 121, 31) |
| HSL | hsl(51, 63%, 33%) |
| HSV | hsv(51, 77%, 54%) |
| CMYK | cmyk(0%, 11.7%, 77.4%, 46.3%) |
| CIE-LAB | lab(50.80, -4.00, 48.32) |
| CIE-LCH | lch(50.80, 48.49, 94.73°) |
| OKLab | oklab(57.45% -0.0162 0.1061) |
| OKLCH | oklch(57.45% 0.107 98.7) |
| XYZ | xyz(17.4021, 19.0929, 4.0647) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.73
Baby Poop
#937C00
ΔE00 3.75
Ugly Brown
#7D7103
ΔE00 3.96
Poo
#8F7303
ΔE00 4.43
Puke Brown
#947706
ΔE00 4.50
Olive
#808000
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89791F #1F2F89
analogous
#89441F #89791F #64891F
triadic
#89791F #1F8979 #791F89
tetradic
#89791F #1F8944 #1F2F89 #891F64
square
#89791F #1F8944 #1F2F89 #891F64
split-complementary
#89791F #1F6489 #441F89
monochromatic
#252108 #574D14 #89791F #BBA52A #D6C24C
Accessibility & contrast
On white
4.36
#89791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#89791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89791F
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89791F | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#946F68
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #89791f; /* rgb */ color: rgb(137, 121, 31); /* oklch */ color: oklch(57.4% 0.107 98.7);
Tailwind
colors: {
custom: {
50: '#af9f62',
500: '#89791f',
950: '#000000',
},
}SCSS
$custom: #89791f; $custom-light: #af9f62; $custom-dark: #000000;
JSON
{
"hex": "#89791f",
"rgb": {
"r": 137,
"g": 121,
"b": 31
},
"hsl": {
"h": 50.943,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.57449,
"c": 0.10728,
"h": 98.7
},
"luminance": 0.19092
}Semantic roles & 50–950 ramp
primary
#89791F
secondary
#4B5BB9
accent
#5AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A