#948C27#948C27
#948C27 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.119 H 104.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #948C27 |
|---|---|
| RGB | rgb(148, 140, 39) |
| HSL | hsl(56, 58%, 37%) |
| HSV | hsv(56, 74%, 58%) |
| CMYK | cmyk(0%, 5.4%, 73.6%, 42%) |
| CIE-LAB | lab(57.27, -9.02, 51.83) |
| CIE-LCH | lch(57.27, 52.61, 99.87°) |
| OKLab | oklab(62.85% -0.0302 0.1146) |
| OKLCH | oklch(62.85% 0.119 104.7) |
| XYZ | xyz(21.9580, 25.1994, 5.6264) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.67
Baby Poop Green
#8F9805
ΔE00 5.95
Pea Soup
#929901
ΔE00 5.96
Baby Shit Green
#889717
ΔE00 6.62
Diarrhea
#9F8303
ΔE00 6.72
Baby Poo
#AB9004
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C27 #272F94
analogous
#945627 #948C27 #669427
triadic
#948C27 #27948C #8C2794
tetradic
#948C27 #279456 #272F94 #942766
square
#948C27 #279456 #272F94 #942766
split-complementary
#948C27 #276694 #562794
monochromatic
#33300D #645E1A #948C27 #C4BA34 #D5CD60
Accessibility & contrast
On white
3.48
#948C27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#948C27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C27
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C27 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9B8C2E
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948c27; /* rgb */ color: rgb(148, 140, 39); /* oklch */ color: oklch(62.9% 0.119 104.7);
Tailwind
colors: {
custom: {
50: '#b7ad69',
500: '#948c27',
950: '#000000',
},
}SCSS
$custom: #948c27; $custom-light: #b7ad69; $custom-dark: #000000;
JSON
{
"hex": "#948c27",
"rgb": {
"r": 148,
"g": 140,
"b": 39
},
"hsl": {
"h": 55.596,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.62854,
"c": 0.11854,
"h": 104.7
},
"luminance": 0.25199
}Semantic roles & 50–950 ramp
primary
#948C27
secondary
#5C63BB
accent
#52E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A