#947F23#947F23
#947F23 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.110 H 95.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #947F23 |
|---|---|
| RGB | rgb(148, 127, 35) |
| HSL | hsl(49, 62%, 36%) |
| HSV | hsv(49, 76%, 58%) |
| CMYK | cmyk(0%, 14.2%, 76.4%, 42%) |
| CIE-LAB | lab(53.60, -2.06, 49.84) |
| CIE-LCH | lch(53.60, 49.88, 92.37°) |
| OKLab | oklab(59.93% -0.0109 0.1096) |
| OKLCH | oklch(59.93% 0.11 95.7) |
| XYZ | xyz(20.1065, 21.5971, 4.6994) |
| Luminance | 0.2160 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.61
Hazel
#8E7618
ΔE00 3.38
Puke Brown
#947706
ΔE00 3.82
Diarrhea
#9F8303
ΔE00 3.88
Yellowish Brown
#9B7A01
ΔE00 4.28
Poo
#8F7303
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947F23 #233894
analogous
#944723 #947F23 #709423
triadic
#947F23 #23947F #7F2394
tetradic
#947F23 #239447 #233894 #942370
square
#947F23 #239447 #233894 #942370
split-complementary
#947F23 #237094 #472394
monochromatic
#312A0C #635517 #947F23 #C5A92F #D8C05A
Accessibility & contrast
On white
3.95
#947F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#947F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947F23
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947F23 | 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)
#8D7C13
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A0756D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #947f23; /* rgb */ color: rgb(148, 127, 35); /* oklch */ color: oklch(59.9% 0.110 95.7);
Tailwind
colors: {
custom: {
50: '#b7a365',
500: '#947f23',
950: '#000000',
},
}SCSS
$custom: #947f23; $custom-light: #b7a365; $custom-dark: #000000;
JSON
{
"hex": "#947f23",
"rgb": {
"r": 148,
"g": 127,
"b": 35
},
"hsl": {
"h": 48.85,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.59932,
"c": 0.11016,
"h": 95.7
},
"luminance": 0.21596
}Semantic roles & 50–950 ramp
primary
#947F23
secondary
#5769BC
accent
#61E543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A