#998628#998628
#998628 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.113 H 97.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #998628 |
|---|---|
| RGB | rgb(153, 134, 40) |
| HSL | hsl(50, 59%, 38%) |
| HSV | hsv(50, 74%, 60%) |
| CMYK | cmyk(0%, 12.4%, 73.9%, 40%) |
| CIE-LAB | lab(56.06, -3.41, 50.44) |
| CIE-LCH | lch(56.06, 50.55, 93.87°) |
| OKLab | oklab(62.01% -0.0145 0.1117) |
| OKLCH | oklch(62.01% 0.113 97.4) |
| XYZ | xyz(22.0461, 23.9768, 5.4738) |
| Luminance | 0.2398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.70
Baby Poop
#937C00
ΔE00 4.22
Dark Mustard
#A88905
ΔE00 4.86
Baby Poo
#AB9004
ΔE00 5.68
Yellowish Brown
#9B7A01
ΔE00 5.81
Baby Shit Brown
#AD900D
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998628 #283B99
analogous
#994E28 #998628 #739928
triadic
#998628 #289986 #862899
tetradic
#998628 #28994E #283B99 #992873
square
#998628 #28994E #283B99 #992873
split-complementary
#998628 #287399 #4E2899
monochromatic
#38310F #685C1B #998628 #CAB035 #D7C465
Accessibility & contrast
On white
3.62
#998628 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#998628 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998628
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998628 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A57C73
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #998628; /* rgb */ color: rgb(153, 134, 40); /* oklch */ color: oklch(62.0% 0.113 97.4);
Tailwind
colors: {
custom: {
50: '#bba869',
500: '#998628',
950: '#000000',
},
}SCSS
$custom: #998628; $custom-light: #bba869; $custom-dark: #000000;
JSON
{
"hex": "#998628",
"rgb": {
"r": 153,
"g": 134,
"b": 40
},
"hsl": {
"h": 49.912,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.62011,
"c": 0.11262,
"h": 97.4
},
"luminance": 0.23976
}Semantic roles & 50–950 ramp
primary
#998628
secondary
#6070BD
accent
#60E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A