#998525#998525
#998525 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.114 H 96.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #998525 |
|---|---|
| RGB | rgb(153, 133, 37) |
| HSL | hsl(50, 61%, 37%) |
| HSV | hsv(50, 76%, 60%) |
| CMYK | cmyk(0%, 13.1%, 75.8%, 40%) |
| CIE-LAB | lab(55.77, -3.01, 51.32) |
| CIE-LCH | lch(55.77, 51.41, 93.35°) |
| OKLab | oklab(61.77% -0.0137 0.113) |
| OKLCH | oklch(61.77% 0.114 96.9) |
| XYZ | xyz(21.8594, 23.6821, 5.1696) |
| Luminance | 0.2368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.28
Baby Poop
#937C00
ΔE00 3.77
Dark Mustard
#A88905
ΔE00 4.63
Yellowish Brown
#9B7A01
ΔE00 5.33
Puke Brown
#947706
ΔE00 5.51
Hazel
#8E7618
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998525 #253999
analogous
#994B25 #998525 #739925
triadic
#998525 #259985 #852599
tetradic
#998525 #25994B #253999 #992573
square
#998525 #25994B #253999 #992573
split-complementary
#998525 #257399 #4B2599
monochromatic
#362F0D #685A19 #998525 #CAB031 #D9C460
Accessibility & contrast
On white
3.66
#998525 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#998525 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998525
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998525 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998525 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#A57A72
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #998525; /* rgb */ color: rgb(153, 133, 37); /* oklch */ color: oklch(61.8% 0.114 96.9);
Tailwind
colors: {
custom: {
50: '#bba867',
500: '#998525',
950: '#000000',
},
}SCSS
$custom: #998525; $custom-light: #bba867; $custom-dark: #000000;
JSON
{
"hex": "#998525",
"rgb": {
"r": 153,
"g": 133,
"b": 37
},
"hsl": {
"h": 49.655,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.6177,
"c": 0.11377,
"h": 96.9
},
"luminance": 0.23681
}Semantic roles & 50–950 ramp
primary
#998525
secondary
#5C6DBE
accent
#5FE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A