#947C1B#947C1B
#947C1B is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.113 H 94.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #947C1B |
|---|---|
| RGB | rgb(148, 124, 27) |
| HSL | hsl(48, 69%, 34%) |
| HSV | hsv(48, 82%, 58%) |
| CMYK | cmyk(0%, 16.2%, 81.8%, 42%) |
| CIE-LAB | lab(52.72, -0.71, 51.91) |
| CIE-LCH | lch(52.72, 51.91, 90.79°) |
| OKLab | oklab(59.22% -0.0079 0.1123) |
| OKLCH | oklch(59.22% 0.113 94) |
| XYZ | xyz(19.6193, 20.7915, 4.0165) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.87
Hazel
#8E7618
ΔE00 2.33
Puke Brown
#947706
ΔE00 2.40
Yellowish Brown
#9B7A01
ΔE00 3.08
Poo
#8F7303
ΔE00 3.52
Diarrhea
#9F8303
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947C1B #1B3394
analogous
#94401B #947C1B #70941B
triadic
#947C1B #1B947C #7C1B94
tetradic
#947C1B #1B9440 #1B3394 #941B70
square
#947C1B #1B9440 #1B3394 #941B70
split-complementary
#947C1B #1B7094 #401B94
monochromatic
#2C2508 #605112 #947C1B #C8A724 #DEC14B
Accessibility & contrast
On white
4.07
#947C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#947C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947C1B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947C1B | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A02
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#A1716A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #947c1b; /* rgb */ color: rgb(148, 124, 27); /* oklch */ color: oklch(59.2% 0.113 94.0);
Tailwind
colors: {
custom: {
50: '#b7a161',
500: '#947c1b',
950: '#000000',
},
}SCSS
$custom: #947c1b; $custom-light: #b7a161; $custom-dark: #000000;
JSON
{
"hex": "#947c1b",
"rgb": {
"r": 148,
"g": 124,
"b": 27
},
"hsl": {
"h": 48.099,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.59224,
"c": 0.11261,
"h": 94
},
"luminance": 0.2079
}Semantic roles & 50–950 ramp
primary
#947C1B
secondary
#4B62C0
accent
#5FEC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A