#938216#938216
#938216 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.119 H 99.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #938216 |
|---|---|
| RGB | rgb(147, 130, 22) |
| HSL | hsl(52, 74%, 33%) |
| HSV | hsv(52, 85%, 58%) |
| CMYK | cmyk(0%, 11.6%, 85%, 42.4%) |
| CIE-LAB | lab(54.27, -4.68, 54.74) |
| CIE-LCH | lch(54.27, 54.94, 94.89°) |
| OKLab | oklab(60.42% -0.0195 0.1175) |
| OKLCH | oklch(60.42% 0.119 99.4) |
| XYZ | xyz(20.1611, 22.2273, 3.9873) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.74
Diarrhea
#9F8303
ΔE00 3.73
Hazel
#8E7618
ΔE00 4.89
Puke Brown
#947706
ΔE00 5.08
Yellowish Brown
#9B7A01
ΔE00 5.40
Olive
#808000
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938216 #162793
analogous
#934316 #938216 #659316
triadic
#938216 #169382 #821693
tetradic
#938216 #169343 #162793 #931665
square
#938216 #169343 #162793 #931665
split-complementary
#938216 #166593 #431693
monochromatic
#292406 #5E530E #938216 #C8B11E #E3CD41
Accessibility & contrast
On white
3.86
#938216 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#938216 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938216
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938216 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938216 | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#94841F
Tritanopia (blue-blind)
#9F776F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #938216; /* rgb */ color: rgb(147, 130, 22); /* oklch */ color: oklch(60.4% 0.119 99.4);
Tailwind
colors: {
custom: {
50: '#b7a560',
500: '#938216',
950: '#000000',
},
}SCSS
$custom: #938216; $custom-light: #b7a560; $custom-dark: #000000;
JSON
{
"hex": "#938216",
"rgb": {
"r": 147,
"g": 130,
"b": 22
},
"hsl": {
"h": 51.84,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.60418,
"c": 0.11908,
"h": 99.4
},
"luminance": 0.22226
}Semantic roles & 50–950 ramp
primary
#938216
secondary
#4253C3
accent
#50F137
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79