#948E26#948E26
#948E26 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.121 H 106.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #948E26 |
|---|---|
| RGB | rgb(148, 142, 38) |
| HSL | hsl(57, 59%, 36%) |
| HSV | hsv(57, 74%, 58%) |
| CMYK | cmyk(0%, 4.1%, 74.3%, 42%) |
| CIE-LAB | lab(57.83, -10.14, 52.75) |
| CIE-LCH | lch(57.83, 53.71, 100.88°) |
| OKLab | oklab(63.3% -0.0334 0.1164) |
| OKLCH | oklch(63.3% 0.121 106) |
| XYZ | xyz(22.2365, 25.7827, 5.6386) |
| Luminance | 0.2578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.13
Pea Soup
#929901
ΔE00 5.14
Baby Shit Green
#889717
ΔE00 5.83
Olive
#808000
ΔE00 5.92
Baby Poo
#AB9004
ΔE00 7.07
Diarrhea
#9F8303
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E26 #262C94
analogous
#945726 #948E26 #639426
triadic
#948E26 #26948E #8E2694
tetradic
#948E26 #269457 #262C94 #942663
square
#948E26 #269457 #262C94 #942663
split-complementary
#948E26 #266394 #572694
monochromatic
#33310D #635F19 #948E26 #C5BD33 #D6CF5F
Accessibility & contrast
On white
3.41
#948E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#948E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E26
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E26 | 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)
#9B8912
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e26; /* rgb */ color: rgb(148, 142, 38); /* oklch */ color: oklch(63.3% 0.121 106.0);
Tailwind
colors: {
custom: {
50: '#b7ae68',
500: '#948e26',
950: '#000000',
},
}SCSS
$custom: #948e26; $custom-light: #b7ae68; $custom-dark: #000000;
JSON
{
"hex": "#948e26",
"rgb": {
"r": 148,
"g": 142,
"b": 38
},
"hsl": {
"h": 56.727,
"s": 59.14,
"l": 36.471
},
"oklch": {
"l": 0.63299,
"c": 0.12109,
"h": 106
},
"luminance": 0.25782
}Semantic roles & 50–950 ramp
primary
#948E26
secondary
#5B60BB
accent
#4EE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A