#998D2B#998D2B
#998D2B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.116 H 102.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #998D2B |
|---|---|
| RGB | rgb(153, 141, 43) |
| HSL | hsl(53, 56%, 38%) |
| HSV | hsv(53, 72%, 60%) |
| CMYK | cmyk(0%, 7.8%, 71.9%, 40%) |
| CIE-LAB | lab(58.03, -7.09, 51.18) |
| CIE-LCH | lch(58.03, 51.66, 97.89°) |
| OKLab | oklab(63.58% -0.0246 0.1138) |
| OKLCH | oklch(63.58% 0.116 102.2) |
| XYZ | xyz(23.0988, 25.9975, 6.0863) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.77
Diarrhea
#9F8303
ΔE00 5.92
Baby Shit Brown
#AD900D
ΔE00 6.10
Dark Mustard
#A88905
ΔE00 6.26
Pea Soup
#929901
ΔE00 6.64
Dark Khaki
#9B8F55
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998D2B #2B3799
analogous
#99562B #998D2B #6E992B
triadic
#998D2B #2B998D #8D2B99
tetradic
#998D2B #2B9956 #2B3799 #992B6E
square
#998D2B #2B9956 #2B3799 #992B6E
split-complementary
#998D2B #2B6E99 #562B99
monochromatic
#393510 #69611E #998D2B #C8B83A #D5C969
Accessibility & contrast
On white
3.39
#998D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#998D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998D2B
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998D2B | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A891C
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998d2b; /* rgb */ color: rgb(153, 141, 43); /* oklch */ color: oklch(63.6% 0.116 102.2);
Tailwind
colors: {
custom: {
50: '#baae6b',
500: '#998d2b',
950: '#000000',
},
}SCSS
$custom: #998d2b; $custom-light: #baae6b; $custom-dark: #000000;
JSON
{
"hex": "#998d2b",
"rgb": {
"r": 153,
"g": 141,
"b": 43
},
"hsl": {
"h": 53.455,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.63581,
"c": 0.11644,
"h": 102.2
},
"luminance": 0.25996
}Semantic roles & 50–950 ramp
primary
#998D2B
secondary
#646EBC
accent
#59DF48
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A