#947F17#947F17
#947F17 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.9% C 0.116 H 96.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #947F17 |
|---|---|
| RGB | rgb(148, 127, 23) |
| HSL | hsl(50, 73%, 34%) |
| HSV | hsv(50, 84%, 58%) |
| CMYK | cmyk(0%, 14.2%, 84.5%, 42%) |
| CIE-LAB | lab(53.53, -2.52, 53.86) |
| CIE-LCH | lch(53.53, 53.92, 92.68°) |
| OKLab | oklab(59.86% -0.0134 0.1157) |
| OKLCH | oklch(59.86% 0.116 96.6) |
| XYZ | xyz(19.9579, 21.5376, 3.9164) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.62
Diarrhea
#9F8303
ΔE00 3.21
Hazel
#8E7618
ΔE00 3.55
Puke Brown
#947706
ΔE00 3.57
Yellowish Brown
#9B7A01
ΔE00 3.97
Poo
#8F7303
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#947F17 #172C94
analogous
#944017 #947F17 #6A9417
triadic
#947F17 #17947F #7F1794
tetradic
#947F17 #179440 #172C94 #94176A
square
#947F17 #179440 #172C94 #94176A
split-complementary
#947F17 #176A94 #401794
monochromatic
#2A2407 #5F520F #947F17 #C9AC1F #E2C744
Accessibility & contrast
On white
3.96
#947F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#947F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #947F17
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##947F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##947F17 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 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)
#8D7C00
Deuteranopia (green-blind)
#92831F
Tritanopia (blue-blind)
#A1746C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #947f17; /* rgb */ color: rgb(148, 127, 23); /* oklch */ color: oklch(59.9% 0.116 96.6);
Tailwind
colors: {
custom: {
50: '#b8a360',
500: '#947f17',
950: '#000000',
},
}SCSS
$custom: #947f17; $custom-light: #b8a360; $custom-dark: #000000;
JSON
{
"hex": "#947f17",
"rgb": {
"r": 148,
"g": 127,
"b": 23
},
"hsl": {
"h": 49.92,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.59861,
"c": 0.11649,
"h": 96.6
},
"luminance": 0.21537
}Semantic roles & 50–950 ramp
primary
#947F17
secondary
#4459C3
accent
#57F038
background
#FBFAF5
surface
#F7F3EA
border
#D0CDC6
text
#120F05
muted
#817F79