#948C1E#948C1E
#948C1E is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.124 H 105.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #948C1E |
|---|---|
| RGB | rgb(148, 140, 30) |
| HSL | hsl(56, 66%, 35%) |
| HSV | hsv(56, 80%, 58%) |
| CMYK | cmyk(0%, 5.4%, 79.7%, 42%) |
| CIE-LAB | lab(57.22, -9.41, 54.94) |
| CIE-LCH | lch(57.22, 55.74, 99.72°) |
| OKLab | oklab(62.8% -0.0321 0.1195) |
| OKLCH | oklch(62.8% 0.124 105.1) |
| XYZ | xyz(21.8261, 25.1467, 4.9322) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.49
Pea Soup
#929901
ΔE00 5.58
Baby Poop Green
#8F9805
ΔE00 5.62
Diarrhea
#9F8303
ΔE00 6.50
Baby Shit Green
#889717
ΔE00 6.50
Baby Poo
#AB9004
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C1E #1E2694
analogous
#94511E #948C1E #61941E
triadic
#948C1E #1E948C #8C1E94
tetradic
#948C1E #1E9451 #1E2694 #941E61
square
#948C1E #1E9451 #1E2694 #941E61
split-complementary
#948C1E #1E6194 #511E94
monochromatic
#2E2C09 #615C14 #948C1E #C7BC28 #DCD251
Accessibility & contrast
On white
3.48
#948C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#948C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C1E
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C1E | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9C8B27
Tritanopia (blue-blind)
#A08278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948c1e; /* rgb */ color: rgb(148, 140, 30); /* oklch */ color: oklch(62.8% 0.124 105.1);
Tailwind
colors: {
custom: {
50: '#b7ad64',
500: '#948c1e',
950: '#000000',
},
}SCSS
$custom: #948c1e; $custom-light: #b7ad64; $custom-dark: #000000;
JSON
{
"hex": "#948c1e",
"rgb": {
"r": 148,
"g": 140,
"b": 30
},
"hsl": {
"h": 55.932,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.62797,
"c": 0.12374,
"h": 105.1
},
"luminance": 0.25146
}Semantic roles & 50–950 ramp
primary
#948C1E
secondary
#4F57BF
accent
#4AE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A