#948E27#948E27
#948E27 is a light, vivid 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 | #948E27 |
|---|---|
| RGB | rgb(148, 142, 39) |
| HSL | hsl(57, 58%, 37%) |
| HSV | hsv(57, 74%, 58%) |
| CMYK | cmyk(0%, 4.1%, 73.6%, 42%) |
| CIE-LAB | lab(57.84, -10.09, 52.38) |
| CIE-LCH | lch(57.84, 53.34, 100.91°) |
| OKLab | oklab(63.31% -0.0332 0.1158) |
| OKLCH | oklch(63.31% 0.12 106) |
| XYZ | xyz(22.2528, 25.7892, 5.7247) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.18
Pea Soup
#929901
ΔE00 5.19
Baby Shit Green
#889717
ΔE00 5.85
Olive
#808000
ΔE00 5.94
Baby Poo
#AB9004
ΔE00 7.11
Diarrhea
#9F8303
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E27 #272D94
analogous
#945827 #948E27 #649427
triadic
#948E27 #27948E #8E2794
tetradic
#948E27 #279458 #272D94 #942764
square
#948E27 #279458 #272D94 #942764
split-complementary
#948E27 #276494 #582794
monochromatic
#33310D #64601A #948E27 #C4BC34 #D5CF60
Accessibility & contrast
On white
3.41
#948E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#948E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E27
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E27 | 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)
#9B8914
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e27; /* rgb */ color: rgb(148, 142, 39); /* oklch */ color: oklch(63.3% 0.120 106.0);
Tailwind
colors: {
custom: {
50: '#b7ae69',
500: '#948e27',
950: '#000000',
},
}SCSS
$custom: #948e27; $custom-light: #b7ae69; $custom-dark: #000000;
JSON
{
"hex": "#948e27",
"rgb": {
"r": 148,
"g": 142,
"b": 39
},
"hsl": {
"h": 56.697,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.63306,
"c": 0.12046,
"h": 106
},
"luminance": 0.25788
}Semantic roles & 50–950 ramp
primary
#948E27
secondary
#5C61BB
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A