#89781F#89781F
#89781F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.106 H 97.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #89781F |
|---|---|
| RGB | rgb(137, 120, 31) |
| HSL | hsl(50, 63%, 33%) |
| HSV | hsv(50, 77%, 54%) |
| CMYK | cmyk(0%, 12.4%, 77.4%, 46.3%) |
| CIE-LAB | lab(50.51, -3.43, 48.06) |
| CIE-LCH | lch(50.51, 48.18, 94.09°) |
| OKLab | oklab(57.22% -0.0146 0.1055) |
| OKLCH | oklch(57.22% 0.107 97.9) |
| XYZ | xyz(17.2812, 18.8511, 4.0244) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.37
Baby Poop
#937C00
ΔE00 3.80
Ugly Brown
#7D7103
ΔE00 3.87
Poo
#8F7303
ΔE00 4.08
Puke Brown
#947706
ΔE00 4.26
Yellowish Brown
#9B7A01
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#89781F #1F3089
analogous
#89431F #89781F #65891F
triadic
#89781F #1F8978 #781F89
tetradic
#89781F #1F8943 #1F3089 #891F65
square
#89781F #1F8943 #1F3089 #891F65
split-complementary
#89781F #1F6589 #431F89
monochromatic
#252108 #574C14 #89781F #BBA42A #D6C04C
Accessibility & contrast
On white
4.40
#89781F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#89781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #89781F
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##89781F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##89781F | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#946E67
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #89781f; /* rgb */ color: rgb(137, 120, 31); /* oklch */ color: oklch(57.2% 0.106 97.9);
Tailwind
colors: {
custom: {
50: '#af9e62',
500: '#89781f',
950: '#000000',
},
}SCSS
$custom: #89781f; $custom-light: #af9e62; $custom-dark: #000000;
JSON
{
"hex": "#89781f",
"rgb": {
"r": 137,
"g": 120,
"b": 31
},
"hsl": {
"h": 50.377,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.57224,
"c": 0.1065,
"h": 97.9
},
"luminance": 0.1885
}Semantic roles & 50–950 ramp
primary
#89781F
secondary
#4B5CB9
accent
#5CE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A