#98962F#98962F
#98962F is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.5% C 0.122 H 108.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #98962F |
|---|---|
| RGB | rgb(152, 150, 47) |
| HSL | hsl(59, 53%, 39%) |
| HSV | hsv(59, 69%, 60%) |
| CMYK | cmyk(0%, 1.3%, 69.1%, 40.4%) |
| CIE-LAB | lab(60.51, -12.15, 52.01) |
| CIE-LCH | lch(60.51, 53.41, 103.14°) |
| OKLab | oklab(65.54% -0.0384 0.1163) |
| OKLCH | oklch(65.54% 0.122 108.3) |
| XYZ | xyz(24.3692, 28.6941, 6.9436) |
| Luminance | 0.2869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.78
Baby Poop Green
#8F9805
ΔE00 3.85
Baby Shit Green
#889717
ΔE00 4.60
Vomit
#A2A415
ΔE00 5.34
Puke
#A5A502
ΔE00 6.14
Pea Soup Green
#94A617
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98962F #2F3198
analogous
#98622F #98962F #66982F
triadic
#98962F #2F9896 #962F98
tetradic
#98962F #2F9862 #2F3198 #982F66
square
#98962F #2F9862 #2F3198 #982F66
split-complementary
#98962F #2F6698 #622F98
monochromatic
#3B3A12 #696821 #98962F #C4C140 #D2D16F
Accessibility & contrast
On white
3.12
#98962F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#98962F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98962F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98962F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98962F | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2901F
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#A38C81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #98962f; /* rgb */ color: rgb(152, 150, 47); /* oklch */ color: oklch(65.5% 0.122 108.3);
Tailwind
colors: {
custom: {
50: '#b9b46e',
500: '#98962f',
950: '#000000',
},
}SCSS
$custom: #98962f; $custom-light: #b9b46e; $custom-dark: #000000;
JSON
{
"hex": "#98962f",
"rgb": {
"r": 152,
"g": 150,
"b": 47
},
"hsl": {
"h": 58.857,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.6554,
"c": 0.12249,
"h": 108.3
},
"luminance": 0.28693
}Semantic roles & 50–950 ramp
primary
#98962F
secondary
#696ABA
accent
#4EDC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A