#98802F#98802F
#98802F is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.103 H 92.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #98802F |
|---|---|
| RGB | rgb(152, 128, 47) |
| HSL | hsl(46, 53%, 39%) |
| HSV | hsv(46, 69%, 60%) |
| CMYK | cmyk(0%, 15.8%, 69.1%, 40.4%) |
| CIE-LAB | lab(54.37, -0.15, 45.72) |
| CIE-LCH | lch(54.37, 45.72, 90.19°) |
| OKLab | oklab(60.66% -0.0043 0.103) |
| OKLCH | oklch(60.66% 0.103 92.4) |
| XYZ | xyz(21.1822, 22.3202, 5.8813) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.18
Baby Poop
#937C00
ΔE00 4.20
Diarrhea
#9F8303
ΔE00 4.48
Puke Brown
#947706
ΔE00 4.48
Yellowish Brown
#9B7A01
ΔE00 4.54
Poo
#8F7303
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98802F #2F4798
analogous
#984C2F #98802F #7C982F
triadic
#98802F #2F9880 #802F98
tetradic
#98802F #2F984C #2F4798 #982F7C
square
#98802F #2F984C #2F4798 #982F7C
split-complementary
#98802F #2F7C98 #4C2F98
monochromatic
#3B3112 #695921 #98802F #C4A640 #D2BC6F
Accessibility & contrast
On white
3.84
#98802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#98802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98802F
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98802F | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 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)
#8E7E25
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #98802f; /* rgb */ color: rgb(152, 128, 47); /* oklch */ color: oklch(60.7% 0.103 92.4);
Tailwind
colors: {
custom: {
50: '#baa46c',
500: '#98802f',
950: '#000000',
},
}SCSS
$custom: #98802f; $custom-light: #baa46c; $custom-dark: #000000;
JSON
{
"hex": "#98802f",
"rgb": {
"r": 152,
"g": 128,
"b": 47
},
"hsl": {
"h": 46.286,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.60661,
"c": 0.10313,
"h": 92.4
},
"luminance": 0.22319
}Semantic roles & 50–950 ramp
primary
#98802F
secondary
#697BBA
accent
#6DDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A