#947E1B#947E1B
#947E1B is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.7% C 0.114 H 95.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #947E1B |
|---|---|
| RGB | rgb(148, 126, 27) |
| HSL | hsl(49, 69%, 34%) |
| HSV | hsv(49, 82%, 58%) |
| CMYK | cmyk(0%, 14.9%, 81.8%, 42%) |
| CIE-LAB | lab(53.27, -1.83, 52.40) |
| CIE-LCH | lch(53.27, 52.43, 92.00°) |
| OKLab | oklab(59.66% -0.0111 0.1134) |
| OKLCH | oklch(59.66% 0.114 95.6) |
| XYZ | xyz(19.8725, 21.2979, 4.1009) |
| Luminance | 0.2130 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.76
Hazel
#8E7618
ΔE00 3.06
Puke Brown
#947706
ΔE00 3.19
Diarrhea
#9F8303
ΔE00 3.44
Yellowish Brown
#9B7A01
ΔE00 3.68
Poo
#8F7303
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947E1B #1B3194
analogous
#94421B #947E1B #6E941B
triadic
#947E1B #1B947E #7E1B94
tetradic
#947E1B #1B9442 #1B3194 #941B6E
square
#947E1B #1B9442 #1B3194 #941B6E
split-complementary
#947E1B #1B6E94 #421B94
monochromatic
#2C2608 #605212 #947E1B #C8AA24 #DEC34B
Accessibility & contrast
On white
3.99
#947E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#947E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947E1B
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947E1B | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#A0736C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #947e1b; /* rgb */ color: rgb(148, 126, 27); /* oklch */ color: oklch(59.7% 0.114 95.6);
Tailwind
colors: {
custom: {
50: '#b7a361',
500: '#947e1b',
950: '#000000',
},
}SCSS
$custom: #947e1b; $custom-light: #b7a361; $custom-dark: #000000;
JSON
{
"hex": "#947e1b",
"rgb": {
"r": 148,
"g": 126,
"b": 27
},
"hsl": {
"h": 49.091,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.59662,
"c": 0.11394,
"h": 95.6
},
"luminance": 0.21297
}Semantic roles & 50–950 ramp
primary
#947E1B
secondary
#4B60C0
accent
#5CEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A