#998735#998735
#998735 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.104 H 96.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #998735 |
|---|---|
| RGB | rgb(153, 135, 53) |
| HSL | hsl(49, 49%, 40%) |
| HSV | hsv(49, 65%, 60%) |
| CMYK | cmyk(0%, 11.8%, 65.4%, 40%) |
| CIE-LAB | lab(56.44, -3.21, 45.22) |
| CIE-LCH | lch(56.44, 45.33, 94.07°) |
| OKLab | oklab(62.35% -0.0124 0.103) |
| OKLCH | oklch(62.35% 0.104 96.9) |
| XYZ | xyz(22.4444, 24.3584, 6.8869) |
| Luminance | 0.2436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.10
Dark Khaki
#9B8F55
ΔE00 5.44
Baby Poop
#937C00
ΔE00 5.51
Dark Mustard
#A88905
ΔE00 5.99
Hazel
#8E7618
ΔE00 6.46
Baby Poo
#AB9004
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998735 #354799
analogous
#995535 #998735 #799935
triadic
#998735 #359987 #873599
tetradic
#998735 #359955 #354799 #993579
square
#998735 #359955 #354799 #993579
split-complementary
#998735 #357999 #553599
monochromatic
#3E3716 #6C5F25 #998735 #C1AB4B #D0C078
Accessibility & contrast
On white
3.58
#998735 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#998735 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998735
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998735 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998735 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#A57D76
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #998735; /* rgb */ color: rgb(153, 135, 53); /* oklch */ color: oklch(62.3% 0.104 96.9);
Tailwind
colors: {
custom: {
50: '#baa970',
500: '#998735',
950: '#000000',
},
}SCSS
$custom: #998735; $custom-light: #baa970; $custom-dark: #000000;
JSON
{
"hex": "#998735",
"rgb": {
"r": 153,
"g": 135,
"b": 53
},
"hsl": {
"h": 49.2,
"s": 48.544,
"l": 40.392
},
"oklch": {
"l": 0.62346,
"c": 0.10369,
"h": 96.9
},
"luminance": 0.24357
}Semantic roles & 50–950 ramp
primary
#998735
secondary
#717EB9
accent
#68D850
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B