#96821F#96821F
#96821F is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.115 H 97.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #96821F |
|---|---|
| RGB | rgb(150, 130, 31) |
| HSL | hsl(50, 66%, 35%) |
| HSV | hsv(50, 79%, 59%) |
| CMYK | cmyk(0%, 13.3%, 79.3%, 41.2%) |
| CIE-LAB | lab(54.60, -2.98, 52.32) |
| CIE-LCH | lch(54.60, 52.40, 93.26°) |
| OKLab | oklab(60.77% -0.0141 0.114) |
| OKLCH | oklch(60.77% 0.115 97) |
| XYZ | xyz(20.8087, 22.5493, 4.5525) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.74
Diarrhea
#9F8303
ΔE00 3.20
Hazel
#8E7618
ΔE00 4.52
Puke Brown
#947706
ΔE00 4.59
Yellowish Brown
#9B7A01
ΔE00 4.70
Dark Mustard
#A88905
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96821F #1F3396
analogous
#96461F #96821F #6E961F
triadic
#96821F #1F9682 #821F96
tetradic
#96821F #1F9646 #1F3396 #961F6E
square
#96821F #1F9646 #1F3396 #961F6E
split-complementary
#96821F #1F6E96 #461F96
monochromatic
#312A0A #635615 #96821F #C9AE29 #DCC554
Accessibility & contrast
On white
3.81
#96821F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#96821F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96821F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96821F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96821F | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #96821f; /* rgb */ color: rgb(150, 130, 31); /* oklch */ color: oklch(60.8% 0.115 97.0);
Tailwind
colors: {
custom: {
50: '#b9a563',
500: '#96821f',
950: '#000000',
},
}SCSS
$custom: #96821f; $custom-light: #b9a563; $custom-dark: #000000;
JSON
{
"hex": "#96821f",
"rgb": {
"r": 150,
"g": 130,
"b": 31
},
"hsl": {
"h": 49.916,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.60769,
"c": 0.11483,
"h": 97
},
"luminance": 0.22548
}Semantic roles & 50–950 ramp
primary
#96821F
secondary
#5264BF
accent
#5CE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A