#998E30#998E30
#998E30 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.114 H 102.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #998E30 |
|---|---|
| RGB | rgb(153, 142, 48) |
| HSL | hsl(54, 52%, 39%) |
| HSV | hsv(54, 69%, 60%) |
| CMYK | cmyk(0%, 7.2%, 68.6%, 40%) |
| CIE-LAB | lab(58.35, -7.36, 49.43) |
| CIE-LCH | lch(58.35, 49.98, 98.46°) |
| OKLab | oklab(63.84% -0.0248 0.111) |
| OKLCH | oklch(63.84% 0.114 102.6) |
| XYZ | xyz(23.3443, 26.3327, 6.6488) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.16
Baby Poo
#AB9004
ΔE00 6.21
Diarrhea
#9F8303
ΔE00 6.49
Baby Shit Brown
#AD900D
ΔE00 6.51
Pea Soup
#929901
ΔE00 6.59
Baby Poop Green
#8F9805
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E30 #303B99
analogous
#995930 #998E30 #709930
triadic
#998E30 #30998E #8E3099
tetradic
#998E30 #309959 #303B99 #993070
square
#998E30 #309959 #303B99 #993070
split-complementary
#998E30 #307099 #593099
monochromatic
#3C3813 #6A6321 #998E30 #C4B642 #D2C871
Accessibility & contrast
On white
3.35
#998E30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#998E30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E30
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E30 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#A5847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e30; /* rgb */ color: rgb(153, 142, 48); /* oklch */ color: oklch(63.8% 0.114 102.6);
Tailwind
colors: {
custom: {
50: '#baae6e',
500: '#998e30',
950: '#000000',
},
}SCSS
$custom: #998e30; $custom-light: #baae6e; $custom-dark: #000000;
JSON
{
"hex": "#998e30",
"rgb": {
"r": 153,
"g": 142,
"b": 48
},
"hsl": {
"h": 53.714,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.63844,
"c": 0.11377,
"h": 102.6
},
"luminance": 0.26332
}Semantic roles & 50–950 ramp
primary
#998E30
secondary
#6B73BA
accent
#5BDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A