#504E27#504E27
#504E27 is a dark, muted yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.058 H 106.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #504E27 |
|---|---|
| RGB | rgb(80, 78, 39) |
| HSL | hsl(57, 34%, 23%) |
| HSV | hsv(57, 51%, 31%) |
| CMYK | cmyk(0%, 2.5%, 51.2%, 68.6%) |
| CIE-LAB | lab(32.48, -5.57, 23.24) |
| CIE-LCH | lch(32.48, 23.90, 103.48°) |
| OKLab | oklab(41.6% -0.016 0.0555) |
| OKLCH | oklch(41.6% 0.058 106) |
| XYZ | xyz(6.3990, 7.3009, 2.9912) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 6.93
Dark Olive
#373E02
ΔE00 7.89
Dark Olive Green
#3C4D03
ΔE00 8.52
Army Green
#4B5D16
ΔE00 9.20
Olive Brown
#645403
ΔE00 9.56
Camo Green
#526525
ΔE00 10.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504E27 #272950
analogous
#503927 #504E27 #3D5027
triadic
#504E27 #27504E #4E2750
tetradic
#504E27 #275039 #272950 #50273D
square
#504E27 #275039 #272950 #50273D
split-complementary
#504E27 #273D50 #392750
monochromatic
#15140A #272613 #504E27 #79763B #A29E4F
Accessibility & contrast
On white
8.54
#504E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#504E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504E27
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504E27 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B24
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#554A45
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #504e27; /* rgb */ color: rgb(80, 78, 39); /* oklch */ color: oklch(41.6% 0.058 106.0);
Tailwind
colors: {
custom: {
50: '#827f62',
500: '#504e27',
950: '#000000',
},
}SCSS
$custom: #504e27; $custom-light: #827f62; $custom-dark: #000000;
JSON
{
"hex": "#504e27",
"rgb": {
"r": 80,
"g": 78,
"b": 39
},
"hsl": {
"h": 57.073,
"s": 34.454,
"l": 23.333
},
"oklch": {
"l": 0.41601,
"c": 0.05777,
"h": 106
},
"luminance": 0.07301
}Semantic roles & 50–950 ramp
primary
#504E27
secondary
#505283
accent
#63CB5D
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0A0A05
muted
#7C7C79