#947D1B#947D1B
#947D1B is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.113 H 94.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #947D1B |
|---|---|
| RGB | rgb(148, 125, 27) |
| HSL | hsl(49, 69%, 34%) |
| HSV | hsv(49, 82%, 58%) |
| CMYK | cmyk(0%, 15.5%, 81.8%, 42%) |
| CIE-LAB | lab(53.00, -1.27, 52.15) |
| CIE-LCH | lch(53.00, 52.17, 91.40°) |
| OKLab | oklab(59.44% -0.0095 0.1129) |
| OKLCH | oklch(59.44% 0.113 94.8) |
| XYZ | xyz(19.7453, 21.0434, 4.0585) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.76
Hazel
#8E7618
ΔE00 2.68
Puke Brown
#947706
ΔE00 2.78
Yellowish Brown
#9B7A01
ΔE00 3.36
Diarrhea
#9F8303
ΔE00 3.56
Poo
#8F7303
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947D1B #1B3294
analogous
#94411B #947D1B #6F941B
triadic
#947D1B #1B947D #7D1B94
tetradic
#947D1B #1B9441 #1B3294 #941B6F
square
#947D1B #1B9441 #1B3294 #941B6F
split-complementary
#947D1B #1B6F94 #411B94
monochromatic
#2C2608 #605112 #947D1B #C8A924 #DEC24B
Accessibility & contrast
On white
4.03
#947D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#947D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947D1B
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947D1B | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#A1726B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #947d1b; /* rgb */ color: rgb(148, 125, 27); /* oklch */ color: oklch(59.4% 0.113 94.8);
Tailwind
colors: {
custom: {
50: '#b7a261',
500: '#947d1b',
950: '#000000',
},
}SCSS
$custom: #947d1b; $custom-light: #b7a261; $custom-dark: #000000;
JSON
{
"hex": "#947d1b",
"rgb": {
"r": 148,
"g": 125,
"b": 27
},
"hsl": {
"h": 48.595,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.59443,
"c": 0.11326,
"h": 94.8
},
"luminance": 0.21042
}Semantic roles & 50–950 ramp
primary
#947D1B
secondary
#4B61C0
accent
#5DEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A