#937F1C#937F1C
#937F1C is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.114 H 96.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #937F1C |
|---|---|
| RGB | rgb(147, 127, 28) |
| HSL | hsl(50, 68%, 34%) |
| HSV | hsv(50, 81%, 58%) |
| CMYK | cmyk(0%, 13.6%, 81%, 42.4%) |
| CIE-LAB | lab(53.46, -2.82, 52.19) |
| CIE-LCH | lch(53.46, 52.27, 93.09°) |
| OKLab | oklab(59.78% -0.0137 0.1132) |
| OKLCH | oklch(59.78% 0.114 96.9) |
| XYZ | xyz(19.8327, 21.4667, 4.1972) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.05
Hazel
#8E7618
ΔE00 3.48
Diarrhea
#9F8303
ΔE00 3.67
Puke Brown
#947706
ΔE00 3.81
Yellowish Brown
#9B7A01
ΔE00 4.33
Poo
#8F7303
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#937F1C #1C3093
analogous
#93441C #937F1C #6C931C
triadic
#937F1C #1C937F #7F1C93
tetradic
#937F1C #1C9344 #1C3093 #931C6C
square
#937F1C #1C9344 #1C3093 #931C6C
split-complementary
#937F1C #1C6C93 #441C93
monochromatic
#2C2608 #605312 #937F1C #C6AB26 #DDC54C
Accessibility & contrast
On white
3.97
#937F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#937F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #937F1C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##937F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##937F1C | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#9F756D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #937f1c; /* rgb */ color: rgb(147, 127, 28); /* oklch */ color: oklch(59.8% 0.114 96.9);
Tailwind
colors: {
custom: {
50: '#b7a362',
500: '#937f1c',
950: '#000000',
},
}SCSS
$custom: #937f1c; $custom-light: #b7a362; $custom-dark: #000000;
JSON
{
"hex": "#937f1c",
"rgb": {
"r": 147,
"g": 127,
"b": 28
},
"hsl": {
"h": 49.916,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.59784,
"c": 0.11405,
"h": 96.9
},
"luminance": 0.21466
}Semantic roles & 50–950 ramp
primary
#937F1C
secondary
#4C5FBF
accent
#5AEB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A