#948526#948526
#948526 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.113 H 100.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #948526 |
|---|---|
| RGB | rgb(148, 133, 38) |
| HSL | hsl(52, 59%, 36%) |
| HSV | hsv(52, 74%, 58%) |
| CMYK | cmyk(0%, 10.1%, 74.3%, 42%) |
| CIE-LAB | lab(55.29, -5.25, 50.30) |
| CIE-LCH | lch(55.29, 50.58, 95.96°) |
| OKLab | oklab(61.28% -0.0196 0.1112) |
| OKLCH | oklch(61.28% 0.113 100) |
| XYZ | xyz(20.9511, 23.2119, 5.2101) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.29
Diarrhea
#9F8303
ΔE00 4.65
Olive
#808000
ΔE00 5.73
Hazel
#8E7618
ΔE00 5.84
Dark Mustard
#A88905
ΔE00 6.04
Puke Brown
#947706
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948526 #263594
analogous
#944E26 #948526 #6C9426
triadic
#948526 #269485 #852694
tetradic
#948526 #26944E #263594 #94266C
square
#948526 #26944E #263594 #94266C
split-complementary
#948526 #266C94 #4E2694
monochromatic
#332D0D #635919 #948526 #C5B133 #D6C65F
Accessibility & contrast
On white
3.72
#948526 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#948526 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948526
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948526 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #948526; /* rgb */ color: rgb(148, 133, 38); /* oklch */ color: oklch(61.3% 0.113 100.0);
Tailwind
colors: {
custom: {
50: '#b7a867',
500: '#948526',
950: '#000000',
},
}SCSS
$custom: #948526; $custom-light: #b7a867; $custom-dark: #000000;
JSON
{
"hex": "#948526",
"rgb": {
"r": 148,
"g": 133,
"b": 38
},
"hsl": {
"h": 51.818,
"s": 59.14,
"l": 36.471
},
"oklch": {
"l": 0.61279,
"c": 0.11293,
"h": 100
},
"luminance": 0.23211
}Semantic roles & 50–950 ramp
primary
#948526
secondary
#5B68BB
accent
#5BE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A