#998E22#998E22
#998E22 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.123 H 103.3°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #998E22 |
|---|---|
| RGB | rgb(153, 142, 34) |
| HSL | hsl(54, 64%, 37%) |
| HSV | hsv(54, 78%, 60%) |
| CMYK | cmyk(0%, 7.2%, 77.8%, 40%) |
| CIE-LAB | lab(58.26, -8.06, 54.73) |
| CIE-LCH | lch(58.26, 55.32, 98.37°) |
| OKLab | oklab(63.74% -0.0282 0.1196) |
| OKLCH | oklch(63.74% 0.123 103.3) |
| XYZ | xyz(23.0997, 26.2348, 5.3601) |
| Luminance | 0.2623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.45
Pea Soup
#929901
ΔE00 5.82
Baby Shit Brown
#AD900D
ΔE00 5.90
Baby Poop Green
#8F9805
ΔE00 6.01
Diarrhea
#9F8303
ΔE00 6.01
Dark Mustard
#A88905
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E22 #222D99
analogous
#995322 #998E22 #699922
triadic
#998E22 #22998E #8E2299
tetradic
#998E22 #229953 #222D99 #992269
square
#998E22 #229953 #222D99 #992269
split-complementary
#998E22 #226999 #532299
monochromatic
#35310C #676017 #998E22 #CBBC2D #DBCF5B
Accessibility & contrast
On white
3.36
#998E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#998E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E22
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E22 | 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)
#9B8908
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e22; /* rgb */ color: rgb(153, 142, 34); /* oklch */ color: oklch(63.7% 0.123 103.3);
Tailwind
colors: {
custom: {
50: '#bbae66',
500: '#998e22',
950: '#000000',
},
}SCSS
$custom: #998e22; $custom-light: #bbae66; $custom-dark: #000000;
JSON
{
"hex": "#998e22",
"rgb": {
"r": 153,
"g": 142,
"b": 34
},
"hsl": {
"h": 54.454,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.63742,
"c": 0.12291,
"h": 103.3
},
"luminance": 0.26234
}Semantic roles & 50–950 ramp
primary
#998E22
secondary
#5861BF
accent
#50E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A