#948525#948525
#948525 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.114 H 100.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #948525 |
|---|---|
| RGB | rgb(148, 133, 37) |
| HSL | hsl(52, 60%, 36%) |
| HSV | hsv(52, 75%, 58%) |
| CMYK | cmyk(0%, 10.1%, 75%, 42%) |
| CIE-LAB | lab(55.28, -5.30, 50.68) |
| CIE-LCH | lch(55.28, 50.96, 95.97°) |
| OKLab | oklab(61.27% -0.0199 0.1118) |
| OKLCH | oklch(61.27% 0.114 100.1) |
| XYZ | xyz(20.9352, 23.2055, 5.1263) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.23
Diarrhea
#9F8303
ΔE00 4.60
Olive
#808000
ΔE00 5.68
Hazel
#8E7618
ΔE00 5.84
Dark Mustard
#A88905
ΔE00 5.99
Puke Brown
#947706
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948525 #253494
analogous
#944E25 #948525 #6C9425
triadic
#948525 #259485 #852594
tetradic
#948525 #25944E #253494 #94256C
square
#948525 #25944E #253494 #94256C
split-complementary
#948525 #256C94 #4E2594
monochromatic
#322D0D #635919 #948525 #C5B131 #D6C65D
Accessibility & contrast
On white
3.72
#948525 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#948525 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948525
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948525 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948525 | 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)
#928114
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #948525; /* rgb */ color: rgb(148, 133, 37); /* oklch */ color: oklch(61.3% 0.114 100.1);
Tailwind
colors: {
custom: {
50: '#b7a867',
500: '#948525',
950: '#000000',
},
}SCSS
$custom: #948525; $custom-light: #b7a867; $custom-dark: #000000;
JSON
{
"hex": "#948525",
"rgb": {
"r": 148,
"g": 133,
"b": 37
},
"hsl": {
"h": 51.892,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.61272,
"c": 0.11357,
"h": 100.1
},
"luminance": 0.23205
}Semantic roles & 50–950 ramp
primary
#948525
secondary
#5967BB
accent
#5AE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A