#998D30#998D30
#998D30 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.113 H 101.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #998D30 |
|---|---|
| RGB | rgb(153, 141, 48) |
| HSL | hsl(53, 52%, 39%) |
| HSV | hsv(53, 69%, 60%) |
| CMYK | cmyk(0%, 7.8%, 68.6%, 40%) |
| CIE-LAB | lab(58.07, -6.81, 49.15) |
| CIE-LCH | lch(58.07, 49.62, 97.89°) |
| OKLab | oklab(63.62% -0.0232 0.1104) |
| OKLCH | oklch(63.62% 0.113 101.9) |
| XYZ | xyz(23.1962, 26.0364, 6.5994) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.07
Baby Poo
#AB9004
ΔE00 6.11
Diarrhea
#9F8303
ΔE00 6.16
Baby Shit Brown
#AD900D
ΔE00 6.39
Dark Mustard
#A88905
ΔE00 6.51
Baby Poop
#937C00
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998D30 #303C99
analogous
#995930 #998D30 #719930
triadic
#998D30 #30998D #8D3099
tetradic
#998D30 #309959 #303C99 #993071
square
#998D30 #309959 #303C99 #993071
split-complementary
#998D30 #307199 #593099
monochromatic
#3C3713 #6A6221 #998D30 #C4B542 #D2C771
Accessibility & contrast
On white
3.38
#998D30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#998D30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998D30
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998D30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998D30 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998d30; /* rgb */ color: rgb(153, 141, 48); /* oklch */ color: oklch(63.6% 0.113 101.9);
Tailwind
colors: {
custom: {
50: '#baae6e',
500: '#998d30',
950: '#000000',
},
}SCSS
$custom: #998d30; $custom-light: #baae6e; $custom-dark: #000000;
JSON
{
"hex": "#998d30",
"rgb": {
"r": 153,
"g": 141,
"b": 48
},
"hsl": {
"h": 53.143,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.63622,
"c": 0.11285,
"h": 101.9
},
"luminance": 0.26035
}Semantic roles & 50–950 ramp
primary
#998D30
secondary
#6B74BA
accent
#5DDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A