#948B23#948B23
#948B23 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.120 H 104.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #948B23 |
|---|---|
| RGB | rgb(148, 139, 35) |
| HSL | hsl(55, 62%, 36%) |
| HSV | hsv(55, 76%, 58%) |
| CMYK | cmyk(0%, 6.1%, 76.4%, 42%) |
| CIE-LAB | lab(56.96, -8.66, 53.02) |
| CIE-LCH | lch(56.96, 53.72, 99.28°) |
| OKLab | oklab(62.6% -0.0296 0.1164) |
| OKLCH | oklch(62.6% 0.12 104.3) |
| XYZ | xyz(21.7497, 24.8834, 5.2471) |
| Luminance | 0.2488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.47
Pea Soup
#929901
ΔE00 6.16
Baby Poop Green
#8F9805
ΔE00 6.18
Diarrhea
#9F8303
ΔE00 6.26
Baby Poop
#937C00
ΔE00 6.42
Baby Poo
#AB9004
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948B23 #232C94
analogous
#945223 #948B23 #649423
triadic
#948B23 #23948B #8B2394
tetradic
#948B23 #239452 #232C94 #942364
square
#948B23 #239452 #232C94 #942364
split-complementary
#948B23 #236494 #522394
monochromatic
#312E0C #635D17 #948B23 #C5B92F #D8CE5A
Accessibility & contrast
On white
3.51
#948B23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#948B23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948B23
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948B23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948B23 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98860D
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9F8177
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948b23; /* rgb */ color: rgb(148, 139, 35); /* oklch */ color: oklch(62.6% 0.120 104.3);
Tailwind
colors: {
custom: {
50: '#b7ac66',
500: '#948b23',
950: '#000000',
},
}SCSS
$custom: #948b23; $custom-light: #b7ac66; $custom-dark: #000000;
JSON
{
"hex": "#948b23",
"rgb": {
"r": 148,
"g": 139,
"b": 35
},
"hsl": {
"h": 55.221,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.62602,
"c": 0.12007,
"h": 104.3
},
"luminance": 0.24882
}Semantic roles & 50–950 ramp
primary
#948B23
secondary
#575FBC
accent
#50E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A