#947A1B#947A1B
#947A1B is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.8% C 0.111 H 92.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #947A1B |
|---|---|
| RGB | rgb(148, 122, 27) |
| HSL | hsl(47, 69%, 34%) |
| HSV | hsv(47, 82%, 58%) |
| CMYK | cmyk(0%, 17.6%, 81.8%, 42%) |
| CIE-LAB | lab(52.17, 0.41, 51.42) |
| CIE-LCH | lch(52.17, 51.42, 89.54°) |
| OKLab | oklab(58.79% -0.0047 0.1113) |
| OKLCH | oklch(58.79% 0.111 92.4) |
| XYZ | xyz(19.3712, 20.2953, 3.9338) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Brown
#947706
ΔE00 1.76
Hazel
#8E7618
ΔE00 1.81
Baby Poop
#937C00
ΔE00 2.40
Yellowish Brown
#9B7A01
ΔE00 2.69
Poo
#8F7303
ΔE00 2.84
Diarrhea
#9F8303
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947A1B #1B3594
analogous
#943D1B #947A1B #72941B
triadic
#947A1B #1B947A #7A1B94
tetradic
#947A1B #1B943D #1B3594 #941B72
square
#947A1B #1B943D #1B3594 #941B72
split-complementary
#947A1B #1B7294 #3D1B94
monochromatic
#2C2508 #604F12 #947A1B #C8A524 #DEBF4B
Accessibility & contrast
On white
4.15
#947A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#947A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947A1B
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947A1B | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A16F68
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #947a1b; /* rgb */ color: rgb(148, 122, 27); /* oklch */ color: oklch(58.8% 0.111 92.4);
Tailwind
colors: {
custom: {
50: '#b8a061',
500: '#947a1b',
950: '#000000',
},
}SCSS
$custom: #947a1b; $custom-light: #b8a061; $custom-dark: #000000;
JSON
{
"hex": "#947a1b",
"rgb": {
"r": 148,
"g": 122,
"b": 27
},
"hsl": {
"h": 47.107,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.58789,
"c": 0.11138,
"h": 92.4
},
"luminance": 0.20294
}Semantic roles & 50–950 ramp
primary
#947A1B
secondary
#4B64C0
accent
#62EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A