#948E28#948E28
#948E28 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.120 H 106.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #948E28 |
|---|---|
| RGB | rgb(148, 142, 40) |
| HSL | hsl(57, 57%, 37%) |
| HSV | hsv(57, 73%, 58%) |
| CMYK | cmyk(0%, 4.1%, 73%, 42%) |
| CIE-LAB | lab(57.84, -10.04, 52.01) |
| CIE-LCH | lch(57.84, 52.97, 100.93°) |
| OKLab | oklab(63.31% -0.033 0.1152) |
| OKLCH | oklch(63.31% 0.12 106) |
| XYZ | xyz(22.2696, 25.7959, 5.8131) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.23
Pea Soup
#929901
ΔE00 5.25
Baby Shit Green
#889717
ΔE00 5.88
Olive
#808000
ΔE00 5.97
Baby Poo
#AB9004
ΔE00 7.16
Dark Khaki
#9B8F55
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E28 #282E94
analogous
#945828 #948E28 #649428
triadic
#948E28 #28948E #8E2894
tetradic
#948E28 #289458 #282E94 #942864
square
#948E28 #289458 #282E94 #942864
split-complementary
#948E28 #286494 #582894
monochromatic
#34320E #64601B #948E28 #C4BC35 #D5CE62
Accessibility & contrast
On white
3.41
#948E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#948E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E28
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E28 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e28; /* rgb */ color: rgb(148, 142, 40); /* oklch */ color: oklch(63.3% 0.120 106.0);
Tailwind
colors: {
custom: {
50: '#b7ae69',
500: '#948e28',
950: '#000000',
},
}SCSS
$custom: #948e28; $custom-light: #b7ae69; $custom-dark: #000000;
JSON
{
"hex": "#948e28",
"rgb": {
"r": 148,
"g": 142,
"b": 40
},
"hsl": {
"h": 56.667,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.63313,
"c": 0.11981,
"h": 106
},
"luminance": 0.25795
}Semantic roles & 50–950 ramp
primary
#948E28
secondary
#5E63BA
accent
#50E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A