#947F1B#947F1B
#947F1B is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.115 H 96.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #947F1B |
|---|---|
| RGB | rgb(148, 127, 27) |
| HSL | hsl(50, 69%, 34%) |
| HSV | hsv(50, 82%, 58%) |
| CMYK | cmyk(0%, 14.2%, 81.8%, 42%) |
| CIE-LAB | lab(53.55, -2.39, 52.64) |
| CIE-LCH | lch(53.55, 52.70, 92.60°) |
| OKLab | oklab(59.88% -0.0127 0.1139) |
| OKLCH | oklch(59.88% 0.115 96.3) |
| XYZ | xyz(20.0010, 21.5549, 4.1437) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.89
Diarrhea
#9F8303
ΔE00 3.38
Hazel
#8E7618
ΔE00 3.46
Puke Brown
#947706
ΔE00 3.61
Yellowish Brown
#9B7A01
ΔE00 4.03
Poo
#8F7303
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947F1B #1B3094
analogous
#94431B #947F1B #6D941B
triadic
#947F1B #1B947F #7F1B94
tetradic
#947F1B #1B9443 #1B3094 #941B6D
square
#947F1B #1B9443 #1B3094 #941B6D
split-complementary
#947F1B #1B6D94 #431B94
monochromatic
#2C2608 #605312 #947F1B #C8AB24 #DEC54B
Accessibility & contrast
On white
3.95
#947F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#947F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947F1B
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947F1B | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C01
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#A0746D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #947f1b; /* rgb */ color: rgb(148, 127, 27); /* oklch */ color: oklch(59.9% 0.115 96.3);
Tailwind
colors: {
custom: {
50: '#b7a361',
500: '#947f1b',
950: '#000000',
},
}SCSS
$custom: #947f1b; $custom-light: #b7a361; $custom-dark: #000000;
JSON
{
"hex": "#947f1b",
"rgb": {
"r": 148,
"g": 127,
"b": 27
},
"hsl": {
"h": 49.587,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.59881,
"c": 0.11463,
"h": 96.3
},
"luminance": 0.21554
}Semantic roles & 50–950 ramp
primary
#947F1B
secondary
#4B5FC0
accent
#5AEC3C
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A