#998E2B#998E2B
#998E2B is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.117 H 102.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #998E2B |
|---|---|
| RGB | rgb(153, 142, 43) |
| HSL | hsl(54, 56%, 38%) |
| HSV | hsv(54, 72%, 60%) |
| CMYK | cmyk(0%, 7.2%, 71.9%, 40%) |
| CIE-LAB | lab(58.31, -7.63, 51.45) |
| CIE-LCH | lch(58.31, 52.02, 98.44°) |
| OKLab | oklab(63.8% -0.0261 0.1144) |
| OKLCH | oklch(63.8% 0.117 102.9) |
| XYZ | xyz(23.2469, 26.2937, 6.1357) |
| Luminance | 0.2629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.88
Baby Shit Brown
#AD900D
ΔE00 6.24
Pea Soup
#929901
ΔE00 6.25
Diarrhea
#9F8303
ΔE00 6.27
Baby Poop Green
#8F9805
ΔE00 6.37
Dark Mustard
#A88905
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E2B #2B3699
analogous
#99572B #998E2B #6D992B
triadic
#998E2B #2B998E #8E2B99
tetradic
#998E2B #2B9957 #2B3699 #992B6D
square
#998E2B #2B9957 #2B3699 #992B6D
split-complementary
#998E2B #2B6D99 #572B99
monochromatic
#393510 #69621E #998E2B #C8B93A #D5CA69
Accessibility & contrast
On white
3.36
#998E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#998E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E2B
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E2B | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9F8E31
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e2b; /* rgb */ color: rgb(153, 142, 43); /* oklch */ color: oklch(63.8% 0.117 102.9);
Tailwind
colors: {
custom: {
50: '#baae6b',
500: '#998e2b',
950: '#000000',
},
}SCSS
$custom: #998e2b; $custom-light: #baae6b; $custom-dark: #000000;
JSON
{
"hex": "#998e2b",
"rgb": {
"r": 153,
"g": 142,
"b": 43
},
"hsl": {
"h": 54,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.63803,
"c": 0.11735,
"h": 102.9
},
"luminance": 0.26293
}Semantic roles & 50–950 ramp
primary
#998E2B
secondary
#646DBC
accent
#57DF48
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A