#98791C#98791C
#98791C is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 59.0% C 0.111 H 88.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #98791C |
|---|---|
| RGB | rgb(152, 121, 28) |
| HSL | hsl(45, 69%, 35%) |
| HSV | hsv(45, 82%, 60%) |
| CMYK | cmyk(0%, 20.4%, 81.6%, 40.4%) |
| CIE-LAB | lab(52.33, 2.87, 51.37) |
| CIE-LCH | lch(52.33, 51.46, 86.80°) |
| OKLab | oklab(59.01% 0.0022 0.1112) |
| OKLCH | oklch(59.01% 0.111 88.9) |
| XYZ | xyz(19.9971, 20.4353, 3.9896) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.96
Yellowish Brown
#9B7A01
ΔE00 2.08
Hazel
#8E7618
ΔE00 2.85
Poo
#8F7303
ΔE00 3.09
Baby Poop
#937C00
ΔE00 3.69
Diarrhea
#9F8303
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98791C #1C3B98
analogous
#983B1C #98791C #79981C
triadic
#98791C #1C9879 #791C98
tetradic
#98791C #1C983B #1C3B98 #981C79
square
#98791C #1C983B #1C3B98 #981C79
split-complementary
#98791C #1C7998 #3B1C98
monochromatic
#312709 #645012 #98791C #CCA226 #DFBB50
Accessibility & contrast
On white
4.13
#98791C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#98791C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98791C
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98791C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98791C | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#908022
Tritanopia (blue-blind)
#A56E68
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #98791c; /* rgb */ color: rgb(152, 121, 28); /* oklch */ color: oklch(59.0% 0.111 88.9);
Tailwind
colors: {
custom: {
50: '#bb9f61',
500: '#98791c',
950: '#000000',
},
}SCSS
$custom: #98791c; $custom-light: #bb9f61; $custom-dark: #000000;
JSON
{
"hex": "#98791c",
"rgb": {
"r": 152,
"g": 121,
"b": 28
},
"hsl": {
"h": 45,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.59011,
"c": 0.11121,
"h": 88.9
},
"luminance": 0.20434
}Semantic roles & 50–950 ramp
primary
#98791C
secondary
#4E6BC1
accent
#68EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A