#998120#998120
#998120 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.114 H 94.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #998120 |
|---|---|
| RGB | rgb(153, 129, 32) |
| HSL | hsl(48, 65%, 36%) |
| HSV | hsv(48, 79%, 60%) |
| CMYK | cmyk(0%, 15.7%, 79.1%, 40%) |
| CIE-LAB | lab(54.64, -1.00, 52.10) |
| CIE-LCH | lch(54.64, 52.11, 91.10°) |
| OKLab | oklab(60.87% -0.0085 0.1136) |
| OKLCH | oklch(60.87% 0.114 94.3) |
| XYZ | xyz(21.2490, 22.5783, 4.6051) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.61
Baby Poop
#937C00
ΔE00 2.68
Yellowish Brown
#9B7A01
ΔE00 3.65
Puke Brown
#947706
ΔE00 3.87
Hazel
#8E7618
ΔE00 4.19
Dark Mustard
#A88905
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998120 #203899
analogous
#994520 #998120 #759920
triadic
#998120 #209981 #812099
tetradic
#998120 #209945 #203899 #992075
square
#998120 #209945 #203899 #992075
split-complementary
#998120 #207599 #452099
monochromatic
#342C0B #665615 #998120 #CCAC2B #DCC257
Accessibility & contrast
On white
3.81
#998120 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#998120 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998120
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998120 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998120 | 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)
#8F7F0B
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #998120; /* rgb */ color: rgb(153, 129, 32); /* oklch */ color: oklch(60.9% 0.114 94.3);
Tailwind
colors: {
custom: {
50: '#bba564',
500: '#998120',
950: '#000000',
},
}SCSS
$custom: #998120; $custom-light: #bba564; $custom-dark: #000000;
JSON
{
"hex": "#998120",
"rgb": {
"r": 153,
"g": 129,
"b": 32
},
"hsl": {
"h": 48.099,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.60865,
"c": 0.1139,
"h": 94.3
},
"luminance": 0.22577
}Semantic roles & 50–950 ramp
primary
#998120
secondary
#556AC0
accent
#61E83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A