#998E25#998E25
#998E25 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.121 H 103.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #998E25 |
|---|---|
| RGB | rgb(153, 142, 37) |
| HSL | hsl(54, 61%, 37%) |
| HSV | hsv(54, 76%, 60%) |
| CMYK | cmyk(0%, 7.2%, 75.8%, 40%) |
| CIE-LAB | lab(58.28, -7.93, 53.69) |
| CIE-LCH | lch(58.28, 54.28, 98.40°) |
| OKLab | oklab(63.76% -0.0276 0.118) |
| OKLCH | oklch(63.76% 0.121 103.2) |
| XYZ | xyz(23.1448, 26.2529, 5.5981) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.57
Pea Soup
#929901
ΔE00 5.94
Baby Shit Brown
#AD900D
ΔE00 5.99
Diarrhea
#9F8303
ΔE00 6.08
Baby Poop Green
#8F9805
ΔE00 6.10
Dark Mustard
#A88905
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E25 #253099
analogous
#995425 #998E25 #6A9925
triadic
#998E25 #25998E #8E2599
tetradic
#998E25 #259954 #253099 #99256A
square
#998E25 #259954 #253099 #99256A
split-complementary
#998E25 #256A99 #542599
monochromatic
#36330D #686019 #998E25 #CABC31 #D9CD60
Accessibility & contrast
On white
3.36
#998E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#998E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E25
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E25 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e25; /* rgb */ color: rgb(153, 142, 37); /* oklch */ color: oklch(63.8% 0.121 103.2);
Tailwind
colors: {
custom: {
50: '#bbae68',
500: '#998e25',
950: '#000000',
},
}SCSS
$custom: #998e25; $custom-light: #bbae68; $custom-dark: #000000;
JSON
{
"hex": "#998e25",
"rgb": {
"r": 153,
"g": 142,
"b": 37
},
"hsl": {
"h": 54.31,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.63761,
"c": 0.12118,
"h": 103.2
},
"luminance": 0.26252
}Semantic roles & 50–950 ramp
primary
#998E25
secondary
#5C65BE
accent
#53E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A