#938016#938016
#938016 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.118 H 98.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #938016 |
|---|---|
| RGB | rgb(147, 128, 22) |
| HSL | hsl(51, 74%, 33%) |
| HSV | hsv(51, 85%, 58%) |
| CMYK | cmyk(0%, 12.9%, 85%, 42.4%) |
| CIE-LAB | lab(53.71, -3.58, 54.26) |
| CIE-LCH | lch(53.71, 54.38, 93.77°) |
| OKLab | oklab(59.97% -0.0164 0.1164) |
| OKLCH | oklch(59.97% 0.118 98) |
| XYZ | xyz(19.8977, 21.7004, 3.8994) |
| Luminance | 0.2170 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.99
Diarrhea
#9F8303
ΔE00 3.48
Hazel
#8E7618
ΔE00 4.04
Puke Brown
#947706
ΔE00 4.20
Yellowish Brown
#9B7A01
ΔE00 4.62
Poo
#8F7303
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938016 #162993
analogous
#934116 #938016 #679316
triadic
#938016 #169380 #801693
tetradic
#938016 #169341 #162993 #931667
square
#938016 #169341 #162993 #931667
split-complementary
#938016 #166793 #411693
monochromatic
#292306 #5E520E #938016 #C8AE1E #E3CA41
Accessibility & contrast
On white
3.93
#938016 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#938016 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938016
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938016 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938016 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#93831F
Tritanopia (blue-blind)
#9F756D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #938016; /* rgb */ color: rgb(147, 128, 22); /* oklch */ color: oklch(60.0% 0.118 98.0);
Tailwind
colors: {
custom: {
50: '#b7a45f',
500: '#938016',
950: '#000000',
},
}SCSS
$custom: #938016; $custom-light: #b7a45f; $custom-dark: #000000;
JSON
{
"hex": "#938016",
"rgb": {
"r": 147,
"g": 128,
"b": 22
},
"hsl": {
"h": 50.88,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.59974,
"c": 0.11759,
"h": 98
},
"luminance": 0.21699
}Semantic roles & 50–950 ramp
primary
#938016
secondary
#4255C3
accent
#53F137
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79