#998C30#998C30
#998C30 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.112 H 101.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #998C30 |
|---|---|
| RGB | rgb(153, 140, 48) |
| HSL | hsl(53, 52%, 39%) |
| HSV | hsv(53, 69%, 60%) |
| CMYK | cmyk(0%, 8.5%, 68.6%, 40%) |
| CIE-LAB | lab(57.79, -6.27, 48.86) |
| CIE-LCH | lch(57.79, 49.26, 97.31°) |
| OKLab | oklab(63.4% -0.0217 0.1098) |
| OKLCH | oklch(63.4% 0.112 101.2) |
| XYZ | xyz(23.0494, 25.7429, 6.5505) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.85
Dark Khaki
#9B8F55
ΔE00 5.99
Baby Poo
#AB9004
ΔE00 6.05
Dark Mustard
#A88905
ΔE00 6.28
Baby Shit Brown
#AD900D
ΔE00 6.30
Baby Poop
#937C00
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998C30 #303D99
analogous
#995730 #998C30 #729930
triadic
#998C30 #30998C #8C3099
tetradic
#998C30 #309957 #303D99 #993072
square
#998C30 #309957 #303D99 #993072
split-complementary
#998C30 #307299 #573099
monochromatic
#3C3713 #6A6121 #998C30 #C4B442 #D2C671
Accessibility & contrast
On white
3.42
#998C30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#998C30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998C30
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998C30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998C30 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998c30; /* rgb */ color: rgb(153, 140, 48); /* oklch */ color: oklch(63.4% 0.112 101.2);
Tailwind
colors: {
custom: {
50: '#baad6e',
500: '#998c30',
950: '#000000',
},
}SCSS
$custom: #998c30; $custom-light: #baad6e; $custom-dark: #000000;
JSON
{
"hex": "#998c30",
"rgb": {
"r": 153,
"g": 140,
"b": 48
},
"hsl": {
"h": 52.571,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.634,
"c": 0.11195,
"h": 101.2
},
"luminance": 0.25742
}Semantic roles & 50–950 ramp
primary
#998C30
secondary
#6B75BA
accent
#5EDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A