#938821#938821
#938821 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.119 H 103.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #938821 |
|---|---|
| RGB | rgb(147, 136, 33) |
| HSL | hsl(54, 63%, 35%) |
| HSV | hsv(54, 78%, 58%) |
| CMYK | cmyk(0%, 7.5%, 77.6%, 42.4%) |
| CIE-LAB | lab(56.01, -7.58, 52.80) |
| CIE-LCH | lch(56.01, 53.34, 98.17°) |
| OKLab | oklab(61.82% -0.0267 0.1156) |
| OKLCH | oklch(61.82% 0.119 103) |
| XYZ | xyz(21.1123, 23.9221, 4.9439) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.08
Baby Poop
#937C00
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 5.53
Dark Mustard
#A88905
ΔE00 6.58
Baby Poo
#AB9004
ΔE00 6.59
Baby Shit Brown
#AD900D
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938821 #212C93
analogous
#934F21 #938821 #659321
triadic
#938821 #219388 #882193
tetradic
#938821 #21934F #212C93 #932165
square
#938821 #21934F #212C93 #932165
split-complementary
#938821 #216593 #4F2193
monochromatic
#2F2C0B #615A16 #938821 #C5B62C #D9CC55
Accessibility & contrast
On white
3.63
#938821 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#938821 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938821
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938821 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938821 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#9F7E74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #938821; /* rgb */ color: rgb(147, 136, 33); /* oklch */ color: oklch(61.8% 0.119 103.0);
Tailwind
colors: {
custom: {
50: '#b6aa65',
500: '#938821',
950: '#000000',
},
}SCSS
$custom: #938821; $custom-light: #b6aa65; $custom-dark: #000000;
JSON
{
"hex": "#938821",
"rgb": {
"r": 147,
"g": 136,
"b": 33
},
"hsl": {
"h": 54.211,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.61819,
"c": 0.1186,
"h": 103
},
"luminance": 0.23921
}Semantic roles & 50–950 ramp
primary
#938821
secondary
#535DBD
accent
#51E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A