#98942E#98942E
#98942E is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.1% C 0.121 H 107.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #98942E |
|---|---|
| RGB | rgb(152, 148, 46) |
| HSL | hsl(58, 54%, 39%) |
| HSV | hsv(58, 70%, 60%) |
| CMYK | cmyk(0%, 2.6%, 69.7%, 40.4%) |
| CIE-LAB | lab(59.94, -11.14, 51.84) |
| CIE-LCH | lch(59.94, 53.02, 102.13°) |
| OKLab | oklab(65.08% -0.0356 0.1158) |
| OKLCH | oklch(65.08% 0.121 107.1) |
| XYZ | xyz(24.0328, 28.0533, 6.7331) |
| Luminance | 0.2805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.22
Baby Poop Green
#8F9805
ΔE00 4.30
Baby Shit Green
#889717
ΔE00 5.09
Vomit
#A2A415
ΔE00 5.88
Puke
#A5A502
ΔE00 6.60
Pea Soup Green
#94A617
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98942E #2E3298
analogous
#985F2E #98942E #67982E
triadic
#98942E #2E9894 #942E98
tetradic
#98942E #2E985F #2E3298 #982E67
square
#98942E #2E985F #2E3298 #982E67
split-complementary
#98942E #2E6798 #5F2E98
monochromatic
#3A3912 #696620 #98942E #C5C03E #D3CF6D
Accessibility & contrast
On white
3.18
#98942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#98942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98942E
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98942E | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08E1E
Deuteranopia (green-blind)
#A39235
Tritanopia (blue-blind)
#A38A80
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #98942e; /* rgb */ color: rgb(152, 148, 46); /* oklch */ color: oklch(65.1% 0.121 107.1);
Tailwind
colors: {
custom: {
50: '#b9b36d',
500: '#98942e',
950: '#000000',
},
}SCSS
$custom: #98942e; $custom-light: #b9b36d; $custom-dark: #000000;
JSON
{
"hex": "#98942e",
"rgb": {
"r": 152,
"g": 148,
"b": 46
},
"hsl": {
"h": 57.736,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.6508,
"c": 0.12115,
"h": 107.1
},
"luminance": 0.28052
}Semantic roles & 50–950 ramp
primary
#98942E
secondary
#686BBA
accent
#50DD4B
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121107
muted
#81807A