#98902F#98902F
#98902F is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.116 H 104.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #98902F |
|---|---|
| RGB | rgb(152, 144, 47) |
| HSL | hsl(55, 53%, 39%) |
| HSV | hsv(55, 69%, 60%) |
| CMYK | cmyk(0%, 5.3%, 69.1%, 40.4%) |
| CIE-LAB | lab(58.81, -8.94, 50.30) |
| CIE-LCH | lch(58.81, 51.09, 100.08°) |
| OKLab | oklab(64.19% -0.0293 0.1127) |
| OKLCH | oklch(64.19% 0.116 104.6) |
| XYZ | xyz(23.4362, 26.8280, 6.6326) |
| Luminance | 0.2683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.60
Baby Poop Green
#8F9805
ΔE00 5.67
Baby Shit Green
#889717
ΔE00 6.40
Dark Khaki
#9B8F55
ΔE00 6.60
Baby Poo
#AB9004
ΔE00 6.70
Olive
#808000
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98902F #2F3798
analogous
#985C2F #98902F #6C982F
triadic
#98902F #2F9890 #902F98
tetradic
#98902F #2F985C #2F3798 #982F6C
square
#98902F #2F985C #2F3798 #982F6C
split-complementary
#98902F #2F6C98 #5C2F98
monochromatic
#3B3712 #696421 #98902F #C4BA40 #D2CB6F
Accessibility & contrast
On white
3.30
#98902F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#98902F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98902F
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98902F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98902F | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#9F9035
Tritanopia (blue-blind)
#A3867C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #98902f; /* rgb */ color: rgb(152, 144, 47); /* oklch */ color: oklch(64.2% 0.116 104.6);
Tailwind
colors: {
custom: {
50: '#b9b06d',
500: '#98902f',
950: '#000000',
},
}SCSS
$custom: #98902f; $custom-light: #b9b06d; $custom-dark: #000000;
JSON
{
"hex": "#98902f",
"rgb": {
"r": 152,
"g": 144,
"b": 47
},
"hsl": {
"h": 55.429,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.64189,
"c": 0.11648,
"h": 104.6
},
"luminance": 0.26827
}Semantic roles & 50–950 ramp
primary
#98902F
secondary
#696FBA
accent
#57DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A