#948D23#948D23
#948D23 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.122 H 105.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #948D23 |
|---|---|
| RGB | rgb(148, 141, 35) |
| HSL | hsl(56, 62%, 36%) |
| HSV | hsv(56, 76%, 58%) |
| CMYK | cmyk(0%, 4.7%, 76.4%, 42%) |
| CIE-LAB | lab(57.53, -9.74, 53.54) |
| CIE-LCH | lch(57.53, 54.42, 100.31°) |
| OKLab | oklab(63.05% -0.0326 0.1175) |
| OKLCH | oklch(63.05% 0.122 105.5) |
| XYZ | xyz(22.0419, 25.4678, 5.3445) |
| Luminance | 0.2547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.37
Baby Poop Green
#8F9805
ΔE00 5.38
Olive
#808000
ΔE00 5.70
Baby Shit Green
#889717
ΔE00 6.16
Baby Poo
#AB9004
ΔE00 6.80
Diarrhea
#9F8303
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948D23 #232A94
analogous
#945423 #948D23 #629423
triadic
#948D23 #23948D #8D2394
tetradic
#948D23 #239454 #232A94 #942362
square
#948D23 #239454 #232A94 #942362
split-complementary
#948D23 #236294 #542394
monochromatic
#312F0C #635E17 #948D23 #C5BC2F #D8D05A
Accessibility & contrast
On white
3.45
#948D23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#948D23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948D23
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948D23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948D23 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A880C
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #948d23; /* rgb */ color: rgb(148, 141, 35); /* oklch */ color: oklch(63.1% 0.122 105.5);
Tailwind
colors: {
custom: {
50: '#b7ae67',
500: '#948d23',
950: '#000000',
},
}SCSS
$custom: #948d23; $custom-light: #b7ae67; $custom-dark: #000000;
JSON
{
"hex": "#948d23",
"rgb": {
"r": 148,
"g": 141,
"b": 35
},
"hsl": {
"h": 56.283,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.63053,
"c": 0.12193,
"h": 105.5
},
"luminance": 0.25467
}Semantic roles & 50–950 ramp
primary
#948D23
secondary
#575DBC
accent
#4DE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A