#948E25#948E25
#948E25 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.122 H 106.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #948E25 |
|---|---|
| RGB | rgb(148, 142, 37) |
| HSL | hsl(57, 60%, 36%) |
| HSV | hsv(57, 75%, 58%) |
| CMYK | cmyk(0%, 4.1%, 75%, 42%) |
| CIE-LAB | lab(57.82, -10.19, 53.11) |
| CIE-LCH | lch(57.82, 54.08, 100.86°) |
| OKLab | oklab(63.29% -0.0337 0.117) |
| OKLCH | oklch(63.29% 0.122 106.1) |
| XYZ | xyz(22.2206, 25.7763, 5.5548) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.08
Pea Soup
#929901
ΔE00 5.08
Baby Shit Green
#889717
ΔE00 5.82
Olive
#808000
ΔE00 5.89
Baby Poo
#AB9004
ΔE00 7.03
Diarrhea
#9F8303
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E25 #252B94
analogous
#945725 #948E25 #639425
triadic
#948E25 #25948E #8E2594
tetradic
#948E25 #259457 #252B94 #942563
square
#948E25 #259457 #252B94 #942563
split-complementary
#948E25 #256394 #572594
monochromatic
#32300D #635F19 #948E25 #C5BD31 #D6D05D
Accessibility & contrast
On white
3.41
#948E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#948E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E25
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E25 | 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)
#9B8910
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e25; /* rgb */ color: rgb(148, 142, 37); /* oklch */ color: oklch(63.3% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#b7ae68',
500: '#948e25',
950: '#000000',
},
}SCSS
$custom: #948e25; $custom-light: #b7ae68; $custom-dark: #000000;
JSON
{
"hex": "#948e25",
"rgb": {
"r": 148,
"g": 142,
"b": 37
},
"hsl": {
"h": 56.757,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.63292,
"c": 0.1217,
"h": 106.1
},
"luminance": 0.25775
}Semantic roles & 50–950 ramp
primary
#948E25
secondary
#595FBB
accent
#4DE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A