#998C26#998C26
#998C26 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.119 H 101.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #998C26 |
|---|---|
| RGB | rgb(153, 140, 38) |
| HSL | hsl(53, 60%, 37%) |
| HSV | hsv(53, 75%, 60%) |
| CMYK | cmyk(0%, 8.5%, 75.2%, 40%) |
| CIE-LAB | lab(57.72, -6.80, 52.80) |
| CIE-LCH | lch(57.72, 53.24, 97.33°) |
| OKLab | oklab(63.32% -0.0243 0.1163) |
| OKLCH | oklch(63.32% 0.119 101.8) |
| XYZ | xyz(22.8659, 25.6694, 5.5836) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.38
Baby Poo
#AB9004
ΔE00 5.40
Baby Shit Brown
#AD900D
ΔE00 5.76
Dark Mustard
#A88905
ΔE00 5.80
Baby Poop
#937C00
ΔE00 6.17
Olive
#808000
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998C26 #263399
analogous
#995226 #998C26 #6D9926
triadic
#998C26 #26998C #8C2699
tetradic
#998C26 #269952 #263399 #99266D
square
#998C26 #269952 #263399 #99266D
split-complementary
#998C26 #266D99 #522699
monochromatic
#37320E #685F1A #998C26 #CAB932 #D8CB62
Accessibility & contrast
On white
3.42
#998C26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#998C26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998C26
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998C26 | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998813
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#A58278
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998c26; /* rgb */ color: rgb(153, 140, 38); /* oklch */ color: oklch(63.3% 0.119 101.8);
Tailwind
colors: {
custom: {
50: '#bbad68',
500: '#998c26',
950: '#000000',
},
}SCSS
$custom: #998c26; $custom-light: #bbad68; $custom-dark: #000000;
JSON
{
"hex": "#998c26",
"rgb": {
"r": 153,
"g": 140,
"b": 38
},
"hsl": {
"h": 53.217,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.63322,
"c": 0.11881,
"h": 101.8
},
"luminance": 0.25668
}Semantic roles & 50–950 ramp
primary
#998C26
secondary
#5E68BD
accent
#56E344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A