#98952F#98952F
#98952F is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.3% C 0.121 H 107.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #98952F |
|---|---|
| RGB | rgb(152, 149, 47) |
| HSL | hsl(58, 53%, 39%) |
| HSV | hsv(58, 69%, 60%) |
| CMYK | cmyk(0%, 2%, 69.1%, 40.4%) |
| CIE-LAB | lab(60.23, -11.62, 51.73) |
| CIE-LCH | lch(60.23, 53.01, 102.66°) |
| OKLab | oklab(65.31% -0.0369 0.1157) |
| OKLCH | oklch(65.31% 0.121 107.7) |
| XYZ | xyz(24.2103, 28.3763, 6.8906) |
| Luminance | 0.2838 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.03
Baby Poop Green
#8F9805
ΔE00 4.10
Baby Shit Green
#889717
ΔE00 4.85
Vomit
#A2A415
ΔE00 5.63
Puke
#A5A502
ΔE00 6.40
Pea Soup Green
#94A617
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98952F #2F3298
analogous
#98612F #98952F #67982F
triadic
#98952F #2F9895 #952F98
tetradic
#98952F #2F9861 #2F3298 #982F67
square
#98952F #2F9861 #2F3298 #982F67
split-complementary
#98952F #2F6798 #612F98
monochromatic
#3B3912 #696721 #98952F #C4C040 #D2D06F
Accessibility & contrast
On white
3.15
#98952F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#98952F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98952F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98952F | 1.00 | 3.15 | 6.68 | 6.68 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18F20
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#A38B81
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #98952f; /* rgb */ color: rgb(152, 149, 47); /* oklch */ color: oklch(65.3% 0.121 107.7);
Tailwind
colors: {
custom: {
50: '#b9b36e',
500: '#98952f',
950: '#000000',
},
}SCSS
$custom: #98952f; $custom-light: #b9b36e; $custom-dark: #000000;
JSON
{
"hex": "#98952f",
"rgb": {
"r": 152,
"g": 149,
"b": 47
},
"hsl": {
"h": 58.286,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.65314,
"c": 0.12146,
"h": 107.7
},
"luminance": 0.28376
}Semantic roles & 50–950 ramp
primary
#98952F
secondary
#696BBA
accent
#50DC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A