#947E22#947E22
#947E22 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.7% C 0.110 H 95.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #947E22 |
|---|---|
| RGB | rgb(148, 126, 34) |
| HSL | hsl(48, 63%, 36%) |
| HSV | hsv(48, 77%, 58%) |
| CMYK | cmyk(0%, 14.9%, 77%, 42%) |
| CIE-LAB | lab(53.31, -1.55, 49.95) |
| CIE-LCH | lch(53.31, 49.98, 91.78°) |
| OKLab | oklab(59.71% -0.0096 0.1097) |
| OKLCH | oklch(59.71% 0.11 95) |
| XYZ | xyz(19.9634, 21.3342, 4.5795) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.46
Hazel
#8E7618
ΔE00 3.00
Puke Brown
#947706
ΔE00 3.41
Diarrhea
#9F8303
ΔE00 3.89
Yellowish Brown
#9B7A01
ΔE00 3.94
Poo
#8F7303
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947E22 #223894
analogous
#944522 #947E22 #719422
triadic
#947E22 #22947E #7E2294
tetradic
#947E22 #229445 #223894 #942271
square
#947E22 #229445 #223894 #942271
split-complementary
#947E22 #227194 #452294
monochromatic
#30290B #625417 #947E22 #C6A82D #D9C058
Accessibility & contrast
On white
3.99
#947E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#947E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947E22
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947E22 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#A0746C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #947e22; /* rgb */ color: rgb(148, 126, 34); /* oklch */ color: oklch(59.7% 0.110 95.0);
Tailwind
colors: {
custom: {
50: '#b7a364',
500: '#947e22',
950: '#000000',
},
}SCSS
$custom: #947e22; $custom-light: #b7a364; $custom-dark: #000000;
JSON
{
"hex": "#947e22",
"rgb": {
"r": 148,
"g": 126,
"b": 34
},
"hsl": {
"h": 48.421,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.59705,
"c": 0.11007,
"h": 95
},
"luminance": 0.21333
}Semantic roles & 50–950 ramp
primary
#947E22
secondary
#5569BD
accent
#62E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A