#998342#998342
#998342 is a mid, moderate orange. Relative luminance 0.234; OKLCH L 61.6% C 0.089 H 91.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #998342 |
|---|---|
| RGB | rgb(153, 131, 66) |
| HSL | hsl(45, 40%, 43%) |
| HSV | hsv(45, 57%, 60%) |
| CMYK | cmyk(0%, 14.4%, 56.9%, 40%) |
| CIE-LAB | lab(55.48, -0.01, 37.77) |
| CIE-LCH | lch(55.48, 37.77, 90.02°) |
| OKLab | oklab(61.63% -0.0015 0.0887) |
| OKLCH | oklch(61.63% 0.089 91) |
| XYZ | xyz(22.2375, 23.3994, 8.4984) |
| Luminance | 0.2340 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.12
Dark Sand
#A88F59
ΔE00 5.32
Coffee
#A6814C
ΔE00 6.39
Hazel
#8E7618
ΔE00 6.55
Dark Tan
#AF884A
ΔE00 6.58
Diarrhea
#9F8303
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998342 #425899
analogous
#995842 #998342 #839942
triadic
#998342 #429983 #834299
tetradic
#998342 #429958 #425899 #994283
square
#998342 #429958 #425899 #994283
split-complementary
#998342 #428399 #584299
monochromatic
#433A1D #6E5E30 #998342 #BAA35E #CCBB89
Accessibility & contrast
On white
3.70
#998342 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#998342 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998342
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998342 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F813C
Deuteranopia (green-blind)
#958845
Tritanopia (blue-blind)
#A47A74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #998342; /* rgb */ color: rgb(153, 131, 66); /* oklch */ color: oklch(61.6% 0.089 91.0);
Tailwind
colors: {
custom: {
50: '#b9a678',
500: '#998342',
950: '#000000',
},
}SCSS
$custom: #998342; $custom-light: #b9a678; $custom-dark: #000000;
JSON
{
"hex": "#998342",
"rgb": {
"r": 153,
"g": 131,
"b": 66
},
"hsl": {
"h": 44.828,
"s": 39.726,
"l": 42.941
},
"oklch": {
"l": 0.61628,
"c": 0.08872,
"h": 91
},
"luminance": 0.23398
}Semantic roles & 50–950 ramp
primary
#998342
secondary
#808EB7
accent
#76D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B