#948C29#948C29
#948C29 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.117 H 104.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #948C29 |
|---|---|
| RGB | rgb(148, 140, 41) |
| HSL | hsl(56, 57%, 37%) |
| HSV | hsv(56, 72%, 58%) |
| CMYK | cmyk(0%, 5.4%, 72.3%, 42%) |
| CIE-LAB | lab(57.28, -8.91, 51.07) |
| CIE-LCH | lch(57.28, 51.84, 99.90°) |
| OKLab | oklab(62.87% -0.0297 0.1134) |
| OKLCH | oklch(62.87% 0.117 104.7) |
| XYZ | xyz(21.9920, 25.2130, 5.8056) |
| Luminance | 0.2521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.74
Baby Poop Green
#8F9805
ΔE00 6.06
Pea Soup
#929901
ΔE00 6.08
Baby Shit Green
#889717
ΔE00 6.67
Diarrhea
#9F8303
ΔE00 6.79
Baby Poo
#AB9004
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C29 #293194
analogous
#945729 #948C29 #679429
triadic
#948C29 #29948C #8C2994
tetradic
#948C29 #299457 #293194 #942967
square
#948C29 #299457 #293194 #942967
split-complementary
#948C29 #296794 #572994
monochromatic
#34310E #645F1C #948C29 #C4B936 #D4CC63
Accessibility & contrast
On white
3.48
#948C29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#948C29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C29
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C29 | 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)
#998719
Deuteranopia (green-blind)
#9B8C30
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948c29; /* rgb */ color: rgb(148, 140, 41); /* oklch */ color: oklch(62.9% 0.117 104.7);
Tailwind
colors: {
custom: {
50: '#b7ad6a',
500: '#948c29',
950: '#000000',
},
}SCSS
$custom: #948c29; $custom-light: #b7ad6a; $custom-dark: #000000;
JSON
{
"hex": "#948c29",
"rgb": {
"r": 148,
"g": 140,
"b": 41
},
"hsl": {
"h": 55.514,
"s": 56.614,
"l": 37.059
},
"oklch": {
"l": 0.62869,
"c": 0.11723,
"h": 104.7
},
"luminance": 0.25212
}Semantic roles & 50–950 ramp
primary
#948C29
secondary
#5F66BA
accent
#53E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A