#99841F#99841F
#99841F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.117 H 96.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #99841F |
|---|---|
| RGB | rgb(153, 132, 31) |
| HSL | hsl(50, 66%, 36%) |
| HSV | hsv(50, 80%, 60%) |
| CMYK | cmyk(0%, 13.7%, 79.7%, 40%) |
| CIE-LAB | lab(55.46, -2.71, 53.20) |
| CIE-LCH | lch(55.46, 53.27, 92.91°) |
| OKLab | oklab(61.51% -0.0134 0.1157) |
| OKLCH | oklch(61.51% 0.117 96.6) |
| XYZ | xyz(21.6366, 23.3749, 4.6682) |
| Luminance | 0.2337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.71
Baby Poop
#937C00
ΔE00 3.20
Dark Mustard
#A88905
ΔE00 4.30
Yellowish Brown
#9B7A01
ΔE00 4.81
Puke Brown
#947706
ΔE00 5.03
Hazel
#8E7618
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#99841F #1F3499
analogous
#99471F #99841F #71991F
triadic
#99841F #1F9984 #841F99
tetradic
#99841F #1F9947 #1F3499 #991F71
square
#99841F #1F9947 #1F3499 #991F71
split-complementary
#99841F #1F7199 #471F99
monochromatic
#332C0A #665815 #99841F #CCB029 #DDC556
Accessibility & contrast
On white
3.70
#99841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#99841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #99841F
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##99841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##99841F | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A67971
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #99841f; /* rgb */ color: rgb(153, 132, 31); /* oklch */ color: oklch(61.5% 0.117 96.6);
Tailwind
colors: {
custom: {
50: '#bba764',
500: '#99841f',
950: '#000000',
},
}SCSS
$custom: #99841f; $custom-light: #bba764; $custom-dark: #000000;
JSON
{
"hex": "#99841f",
"rgb": {
"r": 153,
"g": 132,
"b": 31
},
"hsl": {
"h": 49.672,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.61512,
"c": 0.1165,
"h": 96.6
},
"luminance": 0.23374
}Semantic roles & 50–950 ramp
primary
#99841F
secondary
#5466C0
accent
#5CE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A