#998732#998732
#998732 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.106 H 97.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #998732 |
|---|---|
| RGB | rgb(153, 135, 50) |
| HSL | hsl(50, 51%, 40%) |
| HSV | hsv(50, 67%, 60%) |
| CMYK | cmyk(0%, 11.8%, 67.3%, 40%) |
| CIE-LAB | lab(56.42, -3.41, 46.55) |
| CIE-LCH | lch(56.42, 46.68, 94.18°) |
| OKLab | oklab(62.32% -0.0133 0.1053) |
| OKLCH | oklch(62.32% 0.106 97.2) |
| XYZ | xyz(22.3776, 24.3316, 6.5348) |
| Luminance | 0.2433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.78
Baby Poop
#937C00
ΔE00 5.22
Dark Mustard
#A88905
ΔE00 5.70
Dark Khaki
#9B8F55
ΔE00 5.82
Hazel
#8E7618
ΔE00 6.36
Baby Poo
#AB9004
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998732 #324499
analogous
#995432 #998732 #779932
triadic
#998732 #329987 #873299
tetradic
#998732 #329954 #324499 #993277
square
#998732 #329954 #324499 #993277
split-complementary
#998732 #327799 #543299
monochromatic
#3D3614 #6B5E23 #998732 #C2AD46 #D2C174
Accessibility & contrast
On white
3.58
#998732 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#998732 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998732
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998732 | 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)
#948427
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #998732; /* rgb */ color: rgb(153, 135, 50); /* oklch */ color: oklch(62.3% 0.106 97.2);
Tailwind
colors: {
custom: {
50: '#baa96e',
500: '#998732',
950: '#000000',
},
}SCSS
$custom: #998732; $custom-light: #baa96e; $custom-dark: #000000;
JSON
{
"hex": "#998732",
"rgb": {
"r": 153,
"g": 135,
"b": 50
},
"hsl": {
"h": 49.515,
"s": 50.739,
"l": 39.804
},
"oklch": {
"l": 0.62316,
"c": 0.10613,
"h": 97.2
},
"luminance": 0.24331
}Semantic roles & 50–950 ramp
primary
#998732
secondary
#6D7BBA
accent
#66DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A