#948E30#948E30
#948E30 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.114 H 105.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #948E30 |
|---|---|
| RGB | rgb(148, 142, 48) |
| HSL | hsl(56, 51%, 38%) |
| HSV | hsv(56, 68%, 58%) |
| CMYK | cmyk(0%, 4.1%, 67.6%, 42%) |
| CIE-LAB | lab(57.90, -9.60, 48.83) |
| CIE-LCH | lch(57.90, 49.76, 101.12°) |
| OKLab | oklab(63.38% -0.0308 0.1099) |
| OKLCH | oklch(63.38% 0.114 105.7) |
| XYZ | xyz(22.4201, 25.8561, 6.6055) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.77
Pea Soup
#929901
ΔE00 5.84
Baby Shit Green
#889717
ΔE00 6.17
Olive
#808000
ΔE00 6.30
Dark Khaki
#9B8F55
ΔE00 6.45
Drab
#828344
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E30 #303694
analogous
#945C30 #948E30 #689430
triadic
#948E30 #30948E #8E3094
tetradic
#948E30 #30945C #303694 #943068
square
#948E30 #30945C #303694 #943068
split-complementary
#948E30 #306894 #5C3094
monochromatic
#383512 #666221 #948E30 #C1B940 #D0CA6E
Accessibility & contrast
On white
3.40
#948E30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#948E30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E30
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E30 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#9F857B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e30; /* rgb */ color: rgb(148, 142, 48); /* oklch */ color: oklch(63.4% 0.114 105.7);
Tailwind
colors: {
custom: {
50: '#b6ae6e',
500: '#948e30',
950: '#000000',
},
}SCSS
$custom: #948e30; $custom-light: #b6ae6e; $custom-dark: #000000;
JSON
{
"hex": "#948e30",
"rgb": {
"r": 148,
"g": 142,
"b": 48
},
"hsl": {
"h": 56.4,
"s": 51.02,
"l": 38.431
},
"oklch": {
"l": 0.63377,
"c": 0.11416,
"h": 105.7
},
"luminance": 0.25855
}Semantic roles & 50–950 ramp
primary
#948E30
secondary
#686DB8
accent
#56DA4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A