#948427#948427
#948427 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.111 H 99.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #948427 |
|---|---|
| RGB | rgb(148, 132, 39) |
| HSL | hsl(51, 58%, 37%) |
| HSV | hsv(51, 74%, 58%) |
| CMYK | cmyk(0%, 10.8%, 73.6%, 42%) |
| CIE-LAB | lab(55.02, -4.65, 49.64) |
| CIE-LCH | lch(55.02, 49.86, 95.35°) |
| OKLab | oklab(61.06% -0.0178 0.11) |
| OKLCH | oklch(61.06% 0.111 99.2) |
| XYZ | xyz(20.8312, 22.9459, 5.2508) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.03
Diarrhea
#9F8303
ΔE00 4.52
Hazel
#8E7618
ΔE00 5.42
Puke Brown
#947706
ΔE00 5.91
Olive
#808000
ΔE00 5.93
Dark Mustard
#A88905
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948427 #273794
analogous
#944E27 #948427 #6E9427
triadic
#948427 #279484 #842794
tetradic
#948427 #27944E #273794 #94276E
square
#948427 #27944E #273794 #94276E
split-complementary
#948427 #276E94 #4E2794
monochromatic
#332E0D #64591A #948427 #C4AF34 #D5C460
Accessibility & contrast
On white
3.76
#948427 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#948427 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948427
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948427 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#A07A72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #948427; /* rgb */ color: rgb(148, 132, 39); /* oklch */ color: oklch(61.1% 0.111 99.2);
Tailwind
colors: {
custom: {
50: '#b7a768',
500: '#948427',
950: '#000000',
},
}SCSS
$custom: #948427; $custom-light: #b7a768; $custom-dark: #000000;
JSON
{
"hex": "#948427",
"rgb": {
"r": 148,
"g": 132,
"b": 39
},
"hsl": {
"h": 51.193,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.61064,
"c": 0.11144,
"h": 99.2
},
"luminance": 0.22945
}Semantic roles & 50–950 ramp
primary
#948427
secondary
#5C6ABB
accent
#5DE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A