#998F32#998F32
#998F32 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.113 H 103.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #998F32 |
|---|---|
| RGB | rgb(153, 143, 50) |
| HSL | hsl(54, 51%, 40%) |
| HSV | hsv(54, 67%, 60%) |
| CMYK | cmyk(0%, 6.5%, 67.3%, 40%) |
| CIE-LAB | lab(58.65, -7.78, 48.89) |
| CIE-LCH | lch(58.65, 49.50, 99.04°) |
| OKLab | oklab(64.09% -0.0257 0.1102) |
| OKLCH | oklch(64.09% 0.113 103.1) |
| XYZ | xyz(23.5360, 26.6484, 6.9209) |
| Luminance | 0.2665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.03
Pea Soup
#929901
ΔE00 6.37
Baby Poop Green
#8F9805
ΔE00 6.45
Baby Poo
#AB9004
ΔE00 6.48
Baby Shit Brown
#AD900D
ΔE00 6.78
Diarrhea
#9F8303
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F32 #323C99
analogous
#995C32 #998F32 #6F9932
triadic
#998F32 #32998F #8F3299
tetradic
#998F32 #32995C #323C99 #99326F
square
#998F32 #32995C #323C99 #99326F
split-complementary
#998F32 #326F99 #5C3299
monochromatic
#3D3914 #6B6423 #998F32 #C2B646 #D2C874
Accessibility & contrast
On white
3.32
#998F32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#998F32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F32
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F32 | 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)
#9C8A26
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f32; /* rgb */ color: rgb(153, 143, 50); /* oklch */ color: oklch(64.1% 0.113 103.1);
Tailwind
colors: {
custom: {
50: '#baaf6f',
500: '#998f32',
950: '#000000',
},
}SCSS
$custom: #998f32; $custom-light: #baaf6f; $custom-dark: #000000;
JSON
{
"hex": "#998f32",
"rgb": {
"r": 153,
"g": 143,
"b": 50
},
"hsl": {
"h": 54.175,
"s": 50.739,
"l": 39.804
},
"oklch": {
"l": 0.64085,
"c": 0.11319,
"h": 103.1
},
"luminance": 0.26648
}Semantic roles & 50–950 ramp
primary
#998F32
secondary
#6D75BA
accent
#5BDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B