#998F27#998F27
#998F27 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.121 H 103.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #998F27 |
|---|---|
| RGB | rgb(153, 143, 39) |
| HSL | hsl(55, 59%, 38%) |
| HSV | hsv(55, 75%, 60%) |
| CMYK | cmyk(0%, 6.5%, 74.5%, 40%) |
| CIE-LAB | lab(58.57, -8.37, 53.24) |
| CIE-LCH | lch(58.57, 53.89, 98.94°) |
| OKLab | oklab(64% -0.0286 0.1174) |
| OKLCH | oklch(64% 0.121 103.7) |
| XYZ | xyz(23.3266, 26.5647, 5.8178) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.65
Baby Poop Green
#8F9805
ΔE00 5.80
Baby Poo
#AB9004
ΔE00 5.82
Baby Shit Brown
#AD900D
ΔE00 6.24
Diarrhea
#9F8303
ΔE00 6.50
Dark Mustard
#A88905
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F27 #273199
analogous
#995627 #998F27 #6A9927
triadic
#998F27 #27998F #8F2799
tetradic
#998F27 #279956 #273199 #99276A
square
#998F27 #279956 #273199 #99276A
split-complementary
#998F27 #276A99 #562799
monochromatic
#37340E #68611B #998F27 #CABD33 #D7CD63
Accessibility & contrast
On white
3.33
#998F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#998F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F27
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F27 | 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)
#9C8A14
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f27; /* rgb */ color: rgb(153, 143, 39); /* oklch */ color: oklch(64.0% 0.121 103.7);
Tailwind
colors: {
custom: {
50: '#baaf69',
500: '#998f27',
950: '#000000',
},
}SCSS
$custom: #998f27; $custom-light: #baaf69; $custom-dark: #000000;
JSON
{
"hex": "#998f27",
"rgb": {
"r": 153,
"g": 143,
"b": 39
},
"hsl": {
"h": 54.737,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.63997,
"c": 0.12086,
"h": 103.7
},
"luminance": 0.26564
}Semantic roles & 50–950 ramp
primary
#998F27
secondary
#5F67BD
accent
#53E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A