#948D28#948D28
#948D28 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.119 H 105.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #948D28 |
|---|---|
| RGB | rgb(148, 141, 40) |
| HSL | hsl(56, 57%, 37%) |
| HSV | hsv(56, 73%, 58%) |
| CMYK | cmyk(0%, 4.7%, 73%, 42%) |
| CIE-LAB | lab(57.56, -9.51, 51.73) |
| CIE-LCH | lch(57.56, 52.60, 100.41°) |
| OKLab | oklab(63.09% -0.0314 0.1146) |
| OKLCH | oklch(63.09% 0.119 105.3) |
| XYZ | xyz(22.1215, 25.4997, 5.7637) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.61
Pea Soup
#929901
ΔE00 5.63
Olive
#808000
ΔE00 5.82
Baby Shit Green
#889717
ΔE00 6.25
Baby Poo
#AB9004
ΔE00 7.02
Diarrhea
#9F8303
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948D28 #282F94
analogous
#945728 #948D28 #659428
triadic
#948D28 #28948D #8D2894
tetradic
#948D28 #289457 #282F94 #942865
square
#948D28 #289457 #282F94 #942865
split-complementary
#948D28 #286594 #572894
monochromatic
#34310E #645F1B #948D28 #C4BB35 #D5CD62
Accessibility & contrast
On white
3.44
#948D28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#948D28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948D28
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948D28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948D28 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8817
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #948d28; /* rgb */ color: rgb(148, 141, 40); /* oklch */ color: oklch(63.1% 0.119 105.3);
Tailwind
colors: {
custom: {
50: '#b7ae69',
500: '#948d28',
950: '#000000',
},
}SCSS
$custom: #948d28; $custom-light: #b7ae69; $custom-dark: #000000;
JSON
{
"hex": "#948d28",
"rgb": {
"r": 148,
"g": 141,
"b": 40
},
"hsl": {
"h": 56.111,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.63087,
"c": 0.11885,
"h": 105.3
},
"luminance": 0.25499
}Semantic roles & 50–950 ramp
primary
#948D28
secondary
#5E64BA
accent
#51E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A