#948C23#948C23
#948C23 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.121 H 104.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #948C23 |
|---|---|
| RGB | rgb(148, 140, 35) |
| HSL | hsl(56, 62%, 36%) |
| HSV | hsv(56, 76%, 58%) |
| CMYK | cmyk(0%, 5.4%, 76.4%, 42%) |
| CIE-LAB | lab(57.24, -9.20, 53.28) |
| CIE-LCH | lch(57.24, 54.07, 99.80°) |
| OKLab | oklab(62.83% -0.0311 0.1169) |
| OKLCH | oklch(62.83% 0.121 104.9) |
| XYZ | xyz(21.8951, 25.1743, 5.2956) |
| Luminance | 0.2517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.57
Pea Soup
#929901
ΔE00 5.76
Baby Poop Green
#8F9805
ΔE00 5.78
Baby Shit Green
#889717
ΔE00 6.55
Diarrhea
#9F8303
ΔE00 6.60
Baby Poo
#AB9004
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C23 #232B94
analogous
#945323 #948C23 #639423
triadic
#948C23 #23948C #8C2394
tetradic
#948C23 #239453 #232B94 #942363
square
#948C23 #239453 #232B94 #942363
split-complementary
#948C23 #236394 #532394
monochromatic
#312E0C #635D17 #948C23 #C5BB2F #D8CF5A
Accessibility & contrast
On white
3.48
#948C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#948C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C23
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C23 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870D
Deuteranopia (green-blind)
#9C8B2B
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948c23; /* rgb */ color: rgb(148, 140, 35); /* oklch */ color: oklch(62.8% 0.121 104.9);
Tailwind
colors: {
custom: {
50: '#b7ad67',
500: '#948c23',
950: '#000000',
},
}SCSS
$custom: #948c23; $custom-light: #b7ad67; $custom-dark: #000000;
JSON
{
"hex": "#948c23",
"rgb": {
"r": 148,
"g": 140,
"b": 35
},
"hsl": {
"h": 55.752,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.62827,
"c": 0.121,
"h": 104.9
},
"luminance": 0.25173
}Semantic roles & 50–950 ramp
primary
#948C23
secondary
#575EBC
accent
#4EE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A