#98802B#98802B
#98802B is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.106 H 92.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #98802B |
|---|---|
| RGB | rgb(152, 128, 43) |
| HSL | hsl(47, 56%, 38%) |
| HSV | hsv(47, 72%, 60%) |
| CMYK | cmyk(0%, 15.8%, 71.7%, 40.4%) |
| CIE-LAB | lab(54.33, -0.38, 47.44) |
| CIE-LCH | lch(54.33, 47.44, 90.46°) |
| OKLab | oklab(60.62% -0.0054 0.106) |
| OKLCH | oklch(60.62% 0.106 92.9) |
| XYZ | xyz(21.1052, 22.2894, 5.4757) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.68
Diarrhea
#9F8303
ΔE00 3.97
Hazel
#8E7618
ΔE00 3.97
Puke Brown
#947706
ΔE00 4.14
Yellowish Brown
#9B7A01
ΔE00 4.17
Poo
#8F7303
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98802B #2B4398
analogous
#98492B #98802B #79982B
triadic
#98802B #2B9880 #802B98
tetradic
#98802B #2B9849 #2B4398 #982B79
square
#98802B #2B9849 #2B4398 #982B79
split-complementary
#98802B #2B7998 #492B98
monochromatic
#393010 #68581E #98802B #C7A839 #D5BD69
Accessibility & contrast
On white
3.85
#98802B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#98802B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98802B
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98802B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98802B | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #98802b; /* rgb */ color: rgb(152, 128, 43); /* oklch */ color: oklch(60.6% 0.106 92.9);
Tailwind
colors: {
custom: {
50: '#baa46a',
500: '#98802b',
950: '#000000',
},
}SCSS
$custom: #98802b; $custom-light: #baa46a; $custom-dark: #000000;
JSON
{
"hex": "#98802b",
"rgb": {
"r": 152,
"g": 128,
"b": 43
},
"hsl": {
"h": 46.789,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.60625,
"c": 0.10609,
"h": 92.9
},
"luminance": 0.22288
}Semantic roles & 50–950 ramp
primary
#98802B
secondary
#6477BB
accent
#6ADF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A