#998F34#998F34
#998F34 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.112 H 103.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #998F34 |
|---|---|
| RGB | rgb(153, 143, 52) |
| HSL | hsl(54, 49%, 40%) |
| HSV | hsv(54, 66%, 60%) |
| CMYK | cmyk(0%, 6.5%, 66%, 40%) |
| CIE-LAB | lab(58.66, -7.65, 48.03) |
| CIE-LCH | lch(58.66, 48.64, 99.05°) |
| OKLab | oklab(64.1% -0.0252 0.1087) |
| OKLCH | oklch(64.1% 0.112 103) |
| XYZ | xyz(23.5801, 26.6661, 7.1531) |
| Luminance | 0.2666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.77
Pea Soup
#929901
ΔE00 6.54
Baby Poop Green
#8F9805
ΔE00 6.61
Baby Poo
#AB9004
ΔE00 6.63
Baby Shit Brown
#AD900D
ΔE00 6.91
Diarrhea
#9F8303
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F34 #343E99
analogous
#995C34 #998F34 #719934
triadic
#998F34 #34998F #8F3499
tetradic
#998F34 #34995C #343E99 #993471
square
#998F34 #34995C #343E99 #993471
split-complementary
#998F34 #347199 #5C3499
monochromatic
#3E3A15 #6B6424 #998F34 #C1B549 #D1C877
Accessibility & contrast
On white
3.32
#998F34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#998F34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F34
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F34 | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A28
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f34; /* rgb */ color: rgb(153, 143, 52); /* oklch */ color: oklch(64.1% 0.112 103.0);
Tailwind
colors: {
custom: {
50: '#baaf70',
500: '#998f34',
950: '#000000',
},
}SCSS
$custom: #998f34; $custom-light: #baaf70; $custom-dark: #000000;
JSON
{
"hex": "#998f34",
"rgb": {
"r": 153,
"g": 143,
"b": 52
},
"hsl": {
"h": 54.059,
"s": 49.268,
"l": 40.196
},
"oklch": {
"l": 0.64103,
"c": 0.11162,
"h": 103
},
"luminance": 0.26665
}Semantic roles & 50–950 ramp
primary
#998F34
secondary
#7077B9
accent
#5DD94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B