#998121#998121
#998121 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.113 H 94.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #998121 |
|---|---|
| RGB | rgb(153, 129, 33) |
| HSL | hsl(48, 65%, 36%) |
| HSV | hsv(48, 78%, 60%) |
| CMYK | cmyk(0%, 15.7%, 78.4%, 40%) |
| CIE-LAB | lab(54.64, -0.96, 51.75) |
| CIE-LCH | lch(54.64, 51.76, 91.06°) |
| OKLab | oklab(60.87% -0.0083 0.113) |
| OKLCH | oklch(60.87% 0.113 94.2) |
| XYZ | xyz(21.2628, 22.5839, 4.6777) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.69
Baby Poop
#937C00
ΔE00 2.76
Yellowish Brown
#9B7A01
ΔE00 3.69
Puke Brown
#947706
ΔE00 3.90
Hazel
#8E7618
ΔE00 4.18
Dark Mustard
#A88905
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998121 #213999
analogous
#994521 #998121 #759921
triadic
#998121 #219981 #812199
tetradic
#998121 #219945 #213999 #992175
square
#998121 #219945 #213999 #992175
split-complementary
#998121 #217599 #452199
monochromatic
#342C0B #675716 #998121 #CBAB2C #DBC159
Accessibility & contrast
On white
3.81
#998121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#998121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998121
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998121 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F0D
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #998121; /* rgb */ color: rgb(153, 129, 33); /* oklch */ color: oklch(60.9% 0.113 94.2);
Tailwind
colors: {
custom: {
50: '#bba564',
500: '#998121',
950: '#000000',
},
}SCSS
$custom: #998121; $custom-light: #bba564; $custom-dark: #000000;
JSON
{
"hex": "#998121",
"rgb": {
"r": 153,
"g": 129,
"b": 33
},
"hsl": {
"h": 48,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.60871,
"c": 0.11333,
"h": 94.2
},
"luminance": 0.22583
}Semantic roles & 50–950 ramp
primary
#998121
secondary
#566BBF
accent
#62E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A