#947F22#947F22
#947F22 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.111 H 95.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #947F22 |
|---|---|
| RGB | rgb(148, 127, 34) |
| HSL | hsl(49, 63%, 36%) |
| HSV | hsv(49, 77%, 58%) |
| CMYK | cmyk(0%, 14.2%, 77%, 42%) |
| CIE-LAB | lab(53.59, -2.11, 50.21) |
| CIE-LCH | lch(53.59, 50.26, 92.41°) |
| OKLab | oklab(59.93% -0.0112 0.1102) |
| OKLCH | oklch(59.93% 0.111 95.8) |
| XYZ | xyz(20.0919, 21.5912, 4.6223) |
| Luminance | 0.2159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.51
Hazel
#8E7618
ΔE00 3.38
Puke Brown
#947706
ΔE00 3.78
Diarrhea
#9F8303
ΔE00 3.80
Yellowish Brown
#9B7A01
ΔE00 4.24
Poo
#8F7303
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947F22 #223794
analogous
#944622 #947F22 #709422
triadic
#947F22 #22947F #7F2294
tetradic
#947F22 #229446 #223794 #942270
square
#947F22 #229446 #223794 #942270
split-complementary
#947F22 #227094 #462294
monochromatic
#302A0B #625417 #947F22 #C6AA2D #D9C158
Accessibility & contrast
On white
3.95
#947F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#947F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947F22
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947F22 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A0756D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #947f22; /* rgb */ color: rgb(148, 127, 34); /* oklch */ color: oklch(59.9% 0.111 95.8);
Tailwind
colors: {
custom: {
50: '#b7a365',
500: '#947f22',
950: '#000000',
},
}SCSS
$custom: #947f22; $custom-light: #b7a365; $custom-dark: #000000;
JSON
{
"hex": "#947f22",
"rgb": {
"r": 148,
"g": 127,
"b": 34
},
"hsl": {
"h": 48.947,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.59925,
"c": 0.11077,
"h": 95.8
},
"luminance": 0.2159
}Semantic roles & 50–950 ramp
primary
#947F22
secondary
#5568BD
accent
#60E642
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A