#938331#938331
#938331 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.103 H 98.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #938331 |
|---|---|
| RGB | rgb(147, 131, 49) |
| HSL | hsl(50, 50%, 38%) |
| HSV | hsv(50, 67%, 58%) |
| CMYK | cmyk(0%, 10.9%, 66.7%, 42.4%) |
| CIE-LAB | lab(54.72, -3.98, 45.03) |
| CIE-LCH | lch(54.72, 45.21, 95.05°) |
| OKLab | oklab(60.83% -0.0147 0.1021) |
| OKLCH | oklch(60.83% 0.103 98.2) |
| XYZ | xyz(20.7042, 22.6584, 6.1881) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.81
Hazel
#8E7618
ΔE00 5.31
Diarrhea
#9F8303
ΔE00 5.47
Puke Brown
#947706
ΔE00 6.15
Dark Khaki
#9B8F55
ΔE00 6.24
Yellowish Brown
#9B7A01
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938331 #314193
analogous
#935231 #938331 #729331
triadic
#938331 #319383 #833193
tetradic
#938331 #319352 #314193 #933172
square
#938331 #319352 #314193 #933172
split-complementary
#938331 #317293 #523193
monochromatic
#373112 #655A22 #938331 #C0AB41 #CFBF6F
Accessibility & contrast
On white
3.80
#938331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#938331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938331
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938331 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#9E7A72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #938331; /* rgb */ color: rgb(147, 131, 49); /* oklch */ color: oklch(60.8% 0.103 98.2);
Tailwind
colors: {
custom: {
50: '#b6a66d',
500: '#938331',
950: '#000000',
},
}SCSS
$custom: #938331; $custom-light: #b6a66d; $custom-dark: #000000;
JSON
{
"hex": "#938331",
"rgb": {
"r": 147,
"g": 131,
"b": 49
},
"hsl": {
"h": 50.204,
"s": 50,
"l": 38.431
},
"oklch": {
"l": 0.60831,
"c": 0.10315,
"h": 98.2
},
"luminance": 0.22657
}Semantic roles & 50–950 ramp
primary
#938331
secondary
#6976B7
accent
#65DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A