#998F28#998F28
#998F28 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.120 H 103.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #998F28 |
|---|---|
| RGB | rgb(153, 143, 40) |
| HSL | hsl(55, 59%, 38%) |
| HSV | hsv(55, 74%, 60%) |
| CMYK | cmyk(0%, 6.5%, 73.9%, 40%) |
| CIE-LAB | lab(58.58, -8.33, 52.87) |
| CIE-LCH | lch(58.58, 53.52, 98.95°) |
| OKLab | oklab(64% -0.0284 0.1168) |
| OKLCH | oklch(64% 0.12 103.7) |
| XYZ | xyz(23.3433, 26.5714, 5.9063) |
| Luminance | 0.2657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.70
Baby Poop Green
#8F9805
ΔE00 5.85
Baby Poo
#AB9004
ΔE00 5.86
Baby Shit Brown
#AD900D
ΔE00 6.27
Diarrhea
#9F8303
ΔE00 6.53
Dark Mustard
#A88905
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F28 #283299
analogous
#995628 #998F28 #6B9928
triadic
#998F28 #28998F #8F2899
tetradic
#998F28 #289956 #283299 #99286B
square
#998F28 #289956 #283299 #99286B
split-complementary
#998F28 #286B99 #562899
monochromatic
#38340F #68621B #998F28 #CABC35 #D7CD65
Accessibility & contrast
On white
3.33
#998F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#998F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F28
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F28 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f28; /* rgb */ color: rgb(153, 143, 40); /* oklch */ color: oklch(64.0% 0.120 103.7);
Tailwind
colors: {
custom: {
50: '#baaf6a',
500: '#998f28',
950: '#000000',
},
}SCSS
$custom: #998f28; $custom-light: #baaf6a; $custom-dark: #000000;
JSON
{
"hex": "#998f28",
"rgb": {
"r": 153,
"g": 143,
"b": 40
},
"hsl": {
"h": 54.69,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.64004,
"c": 0.12023,
"h": 103.7
},
"luminance": 0.2657
}Semantic roles & 50–950 ramp
primary
#998F28
secondary
#6068BD
accent
#54E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A