#948D1E#948D1E
#948D1E is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.125 H 105.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #948D1E |
|---|---|
| RGB | rgb(148, 141, 30) |
| HSL | hsl(56, 66%, 35%) |
| HSV | hsv(56, 80%, 58%) |
| CMYK | cmyk(0%, 4.7%, 79.7%, 42%) |
| CIE-LAB | lab(57.50, -9.95, 55.20) |
| CIE-LCH | lch(57.50, 56.09, 100.22°) |
| OKLab | oklab(63.02% -0.0336 0.12) |
| OKLCH | oklch(63.02% 0.125 105.7) |
| XYZ | xyz(21.9729, 25.4402, 4.9811) |
| Luminance | 0.2544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.18
Baby Poop Green
#8F9805
ΔE00 5.22
Olive
#808000
ΔE00 5.62
Baby Shit Green
#889717
ΔE00 6.13
Baby Poo
#AB9004
ΔE00 6.64
Diarrhea
#9F8303
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948D1E #1E2594
analogous
#94521E #948D1E #60941E
triadic
#948D1E #1E948D #8D1E94
tetradic
#948D1E #1E9452 #1E2594 #941E60
square
#948D1E #1E9452 #1E2594 #941E60
split-complementary
#948D1E #1E6094 #521E94
monochromatic
#2E2C09 #615D14 #948D1E #C7BD28 #DCD351
Accessibility & contrast
On white
3.45
#948D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#948D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948D1E
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948D1E | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8C27
Tritanopia (blue-blind)
#9F8378
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #948d1e; /* rgb */ color: rgb(148, 141, 30); /* oklch */ color: oklch(63.0% 0.125 105.7);
Tailwind
colors: {
custom: {
50: '#b7ae64',
500: '#948d1e',
950: '#000000',
},
}SCSS
$custom: #948d1e; $custom-light: #b7ae64; $custom-dark: #000000;
JSON
{
"hex": "#948d1e",
"rgb": {
"r": 148,
"g": 141,
"b": 30
},
"hsl": {
"h": 56.441,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.63023,
"c": 0.12467,
"h": 105.7
},
"luminance": 0.25439
}Semantic roles & 50–950 ramp
primary
#948D1E
secondary
#4F56BF
accent
#49E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A