#998023#998023
#998023 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.112 H 93.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #998023 |
|---|---|
| RGB | rgb(153, 128, 35) |
| HSL | hsl(47, 63%, 37%) |
| HSV | hsv(47, 77%, 60%) |
| CMYK | cmyk(0%, 16.3%, 77.1%, 40%) |
| CIE-LAB | lab(54.38, -0.32, 50.76) |
| CIE-LCH | lch(54.38, 50.76, 90.36°) |
| OKLab | oklab(60.67% -0.0062 0.1114) |
| OKLCH | oklch(60.67% 0.112 93.2) |
| XYZ | xyz(21.1606, 22.3332, 4.7860) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.90
Diarrhea
#9F8303
ΔE00 2.99
Yellowish Brown
#9B7A01
ΔE00 3.44
Puke Brown
#947706
ΔE00 3.62
Hazel
#8E7618
ΔE00 3.89
Dark Mustard
#A88905
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998023 #233C99
analogous
#994523 #998023 #779923
triadic
#998023 #239980 #802399
tetradic
#998023 #239945 #233C99 #992377
square
#998023 #239945 #233C99 #992377
split-complementary
#998023 #237799 #452399
monochromatic
#352D0C #675618 #998023 #CBAA2E #DABF5D
Accessibility & contrast
On white
3.84
#998023 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#998023 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998023
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998023 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998023 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A6756E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #998023; /* rgb */ color: rgb(153, 128, 35); /* oklch */ color: oklch(60.7% 0.112 93.2);
Tailwind
colors: {
custom: {
50: '#bba465',
500: '#998023',
950: '#000000',
},
}SCSS
$custom: #998023; $custom-light: #bba465; $custom-dark: #000000;
JSON
{
"hex": "#998023",
"rgb": {
"r": 153,
"g": 128,
"b": 35
},
"hsl": {
"h": 47.288,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.60668,
"c": 0.11152,
"h": 93.2
},
"luminance": 0.22332
}Semantic roles & 50–950 ramp
primary
#998023
secondary
#596FBE
accent
#65E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A