#948E23#948E23
#948E23 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.123 H 106.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #948E23 |
|---|---|
| RGB | rgb(148, 142, 35) |
| HSL | hsl(57, 62%, 36%) |
| HSV | hsv(57, 76%, 58%) |
| CMYK | cmyk(0%, 4.1%, 76.4%, 42%) |
| CIE-LAB | lab(57.81, -10.28, 53.81) |
| CIE-LCH | lch(57.81, 54.78, 100.82°) |
| OKLab | oklab(63.28% -0.0341 0.1181) |
| OKLCH | oklch(63.28% 0.123 106.1) |
| XYZ | xyz(22.1900, 25.7641, 5.3939) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.99
Baby Poop Green
#8F9805
ΔE00 4.99
Baby Shit Green
#889717
ΔE00 5.79
Olive
#808000
ΔE00 5.85
Baby Poo
#AB9004
ΔE00 6.95
Diarrhea
#9F8303
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E23 #232994
analogous
#945523 #948E23 #619423
triadic
#948E23 #23948E #8E2394
tetradic
#948E23 #239455 #232994 #942361
square
#948E23 #239455 #232994 #942361
split-complementary
#948E23 #236194 #552394
monochromatic
#312F0C #635F17 #948E23 #C5BD2F #D8D15A
Accessibility & contrast
On white
3.41
#948E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#948E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E23
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E23 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B890C
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e23; /* rgb */ color: rgb(148, 142, 35); /* oklch */ color: oklch(63.3% 0.123 106.1);
Tailwind
colors: {
custom: {
50: '#b7ae67',
500: '#948e23',
950: '#000000',
},
}SCSS
$custom: #948e23; $custom-light: #b7ae67; $custom-dark: #000000;
JSON
{
"hex": "#948e23",
"rgb": {
"r": 148,
"g": 142,
"b": 35
},
"hsl": {
"h": 56.814,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.63279,
"c": 0.12289,
"h": 106.1
},
"luminance": 0.25763
}Semantic roles & 50–950 ramp
primary
#948E23
secondary
#575CBC
accent
#4CE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A