#998530#998530
#998530 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.106 H 95.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #998530 |
|---|---|
| RGB | rgb(153, 133, 48) |
| HSL | hsl(49, 52%, 39%) |
| HSV | hsv(49, 69%, 60%) |
| CMYK | cmyk(0%, 13.1%, 68.6%, 40%) |
| CIE-LAB | lab(55.85, -2.42, 46.85) |
| CIE-LCH | lch(55.85, 46.91, 92.96°) |
| OKLab | oklab(61.86% -0.0107 0.1056) |
| OKLCH | oklch(61.86% 0.106 95.8) |
| XYZ | xyz(22.0590, 23.7619, 6.2203) |
| Luminance | 0.2376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.31
Baby Poop
#937C00
ΔE00 4.64
Dark Mustard
#A88905
ΔE00 5.46
Hazel
#8E7618
ΔE00 5.63
Yellowish Brown
#9B7A01
ΔE00 5.80
Puke Brown
#947706
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998530 #304499
analogous
#995030 #998530 #799930
triadic
#998530 #309985 #853099
tetradic
#998530 #309950 #304499 #993079
square
#998530 #309950 #304499 #993079
split-complementary
#998530 #307999 #503099
monochromatic
#3C3413 #6A5D21 #998530 #C4AB42 #D2C071
Accessibility & contrast
On white
3.65
#998530 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#998530 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998530
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998530 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928225
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #998530; /* rgb */ color: rgb(153, 133, 48); /* oklch */ color: oklch(61.9% 0.106 95.8);
Tailwind
colors: {
custom: {
50: '#baa86d',
500: '#998530',
950: '#000000',
},
}SCSS
$custom: #998530; $custom-light: #baa86d; $custom-dark: #000000;
JSON
{
"hex": "#998530",
"rgb": {
"r": 153,
"g": 133,
"b": 48
},
"hsl": {
"h": 48.571,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.6186,
"c": 0.10611,
"h": 95.8
},
"luminance": 0.23761
}Semantic roles & 50–950 ramp
primary
#998530
secondary
#6B7ABA
accent
#67DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A