#948E2E#948E2E
#948E2E is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.116 H 105.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #948E2E |
|---|---|
| RGB | rgb(148, 142, 46) |
| HSL | hsl(56, 53%, 38%) |
| HSV | hsv(56, 69%, 58%) |
| CMYK | cmyk(0%, 4.1%, 68.9%, 42%) |
| CIE-LAB | lab(57.88, -9.72, 49.65) |
| CIE-LCH | lch(57.88, 50.60, 101.07°) |
| OKLab | oklab(63.36% -0.0314 0.1113) |
| OKLCH | oklch(63.36% 0.116 105.8) |
| XYZ | xyz(22.3797, 25.8400, 6.3930) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.62
Pea Soup
#929901
ΔE00 5.68
Baby Shit Green
#889717
ΔE00 6.08
Olive
#808000
ΔE00 6.20
Dark Khaki
#9B8F55
ΔE00 6.69
Drab
#828344
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E2E #2E3494
analogous
#945B2E #948E2E #67942E
triadic
#948E2E #2E948E #8E2E94
tetradic
#948E2E #2E945B #2E3494 #942E67
square
#948E2E #2E945B #2E3494 #942E67
split-complementary
#948E2E #2E6794 #5B2E94
monochromatic
#373411 #65611F #948E2E #C3BB3D #D1CB6B
Accessibility & contrast
On white
3.40
#948E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#948E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E2E
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E2E | 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)
#9A8920
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#9F847B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e2e; /* rgb */ color: rgb(148, 142, 46); /* oklch */ color: oklch(63.4% 0.116 105.8);
Tailwind
colors: {
custom: {
50: '#b6ae6d',
500: '#948e2e',
950: '#000000',
},
}SCSS
$custom: #948e2e; $custom-light: #b6ae6d; $custom-dark: #000000;
JSON
{
"hex": "#948e2e",
"rgb": {
"r": 148,
"g": 142,
"b": 46
},
"hsl": {
"h": 56.471,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.6336,
"c": 0.11565,
"h": 105.8
},
"luminance": 0.25839
}Semantic roles & 50–950 ramp
primary
#948E2E
secondary
#666AB8
accent
#54DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A