#998227#998227
#998227 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.110 H 94.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #998227 |
|---|---|
| RGB | rgb(153, 130, 39) |
| HSL | hsl(48, 59%, 38%) |
| HSV | hsv(48, 75%, 60%) |
| CMYK | cmyk(0%, 15%, 74.5%, 40%) |
| CIE-LAB | lab(54.95, -1.25, 49.75) |
| CIE-LCH | lch(54.95, 49.77, 91.44°) |
| OKLab | oklab(61.13% -0.0084 0.11) |
| OKLCH | oklch(61.13% 0.11 94.4) |
| XYZ | xyz(21.4868, 22.8853, 5.2046) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.22
Baby Poop
#937C00
ΔE00 3.36
Yellowish Brown
#9B7A01
ΔE00 4.30
Puke Brown
#947706
ΔE00 4.45
Hazel
#8E7618
ΔE00 4.50
Dark Mustard
#A88905
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998227 #273E99
analogous
#994927 #998227 #779927
triadic
#998227 #279982 #822799
tetradic
#998227 #279949 #273E99 #992777
square
#998227 #279949 #273E99 #992777
split-complementary
#998227 #277799 #492799
monochromatic
#372F0E #68591B #998227 #CAAB33 #D7C063
Accessibility & contrast
On white
3.77
#998227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#998227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998227
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998227 | 1.00 | 3.77 | 5.58 | 5.58 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F18
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#A67770
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #998227; /* rgb */ color: rgb(153, 130, 39); /* oklch */ color: oklch(61.1% 0.110 94.4);
Tailwind
colors: {
custom: {
50: '#bba668',
500: '#998227',
950: '#000000',
},
}SCSS
$custom: #998227; $custom-light: #bba668; $custom-dark: #000000;
JSON
{
"hex": "#998227",
"rgb": {
"r": 153,
"g": 130,
"b": 39
},
"hsl": {
"h": 47.895,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.6113,
"c": 0.11035,
"h": 94.4
},
"luminance": 0.22884
}Semantic roles & 50–950 ramp
primary
#998227
secondary
#5F72BD
accent
#65E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A