#938116#938116
#938116 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.118 H 98.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #938116 |
|---|---|
| RGB | rgb(147, 129, 22) |
| HSL | hsl(51, 74%, 33%) |
| HSV | hsv(51, 85%, 58%) |
| CMYK | cmyk(0%, 12.2%, 85%, 42.4%) |
| CIE-LAB | lab(53.99, -4.13, 54.50) |
| CIE-LCH | lch(53.99, 54.65, 94.33°) |
| OKLab | oklab(60.2% -0.0179 0.117) |
| OKLCH | oklch(60.2% 0.118 98.7) |
| XYZ | xyz(20.0288, 21.9625, 3.9431) |
| Luminance | 0.2196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.36
Diarrhea
#9F8303
ΔE00 3.58
Hazel
#8E7618
ΔE00 4.47
Puke Brown
#947706
ΔE00 4.64
Yellowish Brown
#9B7A01
ΔE00 5.01
Dark Mustard
#A88905
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938116 #162893
analogous
#934216 #938116 #669316
triadic
#938116 #169381 #811693
tetradic
#938116 #169342 #162893 #931666
square
#938116 #169342 #162893 #931666
split-complementary
#938116 #166693 #421693
monochromatic
#292406 #5E520E #938116 #C8B01E #E3CB41
Accessibility & contrast
On white
3.89
#938116 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#938116 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938116
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938116 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938116 | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#94841F
Tritanopia (blue-blind)
#9F766E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #938116; /* rgb */ color: rgb(147, 129, 22); /* oklch */ color: oklch(60.2% 0.118 98.7);
Tailwind
colors: {
custom: {
50: '#b7a55f',
500: '#938116',
950: '#000000',
},
}SCSS
$custom: #938116; $custom-light: #b7a55f; $custom-dark: #000000;
JSON
{
"hex": "#938116",
"rgb": {
"r": 147,
"g": 129,
"b": 22
},
"hsl": {
"h": 51.36,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.60196,
"c": 0.11833,
"h": 98.7
},
"luminance": 0.21961
}Semantic roles & 50–950 ramp
primary
#938116
secondary
#4254C3
accent
#52F137
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79