#948823#948823
#948823 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.117 H 102.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #948823 |
|---|---|
| RGB | rgb(148, 136, 35) |
| HSL | hsl(54, 62%, 36%) |
| HSV | hsv(54, 76%, 58%) |
| CMYK | cmyk(0%, 8.1%, 76.4%, 42%) |
| CIE-LAB | lab(56.11, -7.03, 52.22) |
| CIE-LCH | lch(56.11, 52.69, 97.67°) |
| OKLab | oklab(61.93% -0.025 0.1147) |
| OKLCH | oklch(61.93% 0.117 102.3) |
| XYZ | xyz(21.3213, 24.0265, 5.1043) |
| Luminance | 0.2403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.25
Diarrhea
#9F8303
ΔE00 5.30
Olive
#808000
ΔE00 5.37
Dark Mustard
#A88905
ΔE00 6.34
Baby Poo
#AB9004
ΔE00 6.41
Baby Shit Brown
#AD900D
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948823 #232F94
analogous
#944F23 #948823 #679423
triadic
#948823 #239488 #882394
tetradic
#948823 #23944F #232F94 #942367
square
#948823 #23944F #232F94 #942367
split-complementary
#948823 #236794 #4F2394
monochromatic
#312D0C #635B17 #948823 #C5B52F #D8CA5A
Accessibility & contrast
On white
3.62
#948823 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#948823 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948823
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948823 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948823 | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95840F
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A07E75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #948823; /* rgb */ color: rgb(148, 136, 35); /* oklch */ color: oklch(61.9% 0.117 102.3);
Tailwind
colors: {
custom: {
50: '#b7aa66',
500: '#948823',
950: '#000000',
},
}SCSS
$custom: #948823; $custom-light: #b7aa66; $custom-dark: #000000;
JSON
{
"hex": "#948823",
"rgb": {
"r": 148,
"g": 136,
"b": 35
},
"hsl": {
"h": 53.628,
"s": 61.749,
"l": 35.882
},
"oklch": {
"l": 0.61928,
"c": 0.11737,
"h": 102.3
},
"luminance": 0.24026
}Semantic roles & 50–950 ramp
primary
#948823
secondary
#5761BC
accent
#54E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A