#998E27#998E27
#998E27 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.120 H 103.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #998E27 |
|---|---|
| RGB | rgb(153, 142, 39) |
| HSL | hsl(54, 59%, 38%) |
| HSV | hsv(54, 75%, 60%) |
| CMYK | cmyk(0%, 7.2%, 74.5%, 40%) |
| CIE-LAB | lab(58.29, -7.83, 52.97) |
| CIE-LCH | lch(58.29, 53.55, 98.41°) |
| OKLab | oklab(63.77% -0.0271 0.1169) |
| OKLCH | oklch(63.77% 0.12 103.1) |
| XYZ | xyz(23.1771, 26.2658, 5.7680) |
| Luminance | 0.2626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.67
Pea Soup
#929901
ΔE00 6.03
Baby Shit Brown
#AD900D
ΔE00 6.07
Diarrhea
#9F8303
ΔE00 6.13
Baby Poop Green
#8F9805
ΔE00 6.18
Dark Mustard
#A88905
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E27 #273299
analogous
#995527 #998E27 #6B9927
triadic
#998E27 #27998E #8E2799
tetradic
#998E27 #279955 #273299 #99276B
square
#998E27 #279955 #273299 #99276B
split-complementary
#998E27 #276B99 #552799
monochromatic
#37330E #68611B #998E27 #CABB33 #D7CC63
Accessibility & contrast
On white
3.36
#998E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#998E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E27
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E27 | 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)
#9B8914
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998e27; /* rgb */ color: rgb(153, 142, 39); /* oklch */ color: oklch(63.8% 0.120 103.1);
Tailwind
colors: {
custom: {
50: '#baae69',
500: '#998e27',
950: '#000000',
},
}SCSS
$custom: #998e27; $custom-light: #baae69; $custom-dark: #000000;
JSON
{
"hex": "#998e27",
"rgb": {
"r": 153,
"g": 142,
"b": 39
},
"hsl": {
"h": 54.211,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.63774,
"c": 0.11996,
"h": 103.1
},
"luminance": 0.26265
}Semantic roles & 50–950 ramp
primary
#998E27
secondary
#5F68BD
accent
#54E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A