#4D5215#4D5215

#4D5215 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.1% C 0.082 H 114.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4D5215
RGBrgb(77, 82, 21)
HSLhsl(65, 59%, 20%)
HSVhsv(65, 74%, 32%)
CMYKcmyk(6.1%, 0%, 74.4%, 67.8%)
CIE-LABlab(33.28, -10.99, 33.44)
CIE-LCHlch(33.28, 35.20, 108.19°)
OKLaboklab(42.1% -0.0333 0.0749)
OKLCHoklch(42.1% 0.082 114)
XYZxyz(6.2134, 7.6666, 1.8618)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5215 #1A1552
analogous
#523815 #4D5215 #2E5215
triadic
#4D5215 #154D52 #52154D
tetradic
#4D5215 #155238 #1A1552 #52152E
square
#4D5215 #155238 #1A1552 #52152E
split-complementary
#4D5215 #152E52 #381552
monochromatic
#171806 #1F2109 #4D5215 #7B8321 #A9B32E

Accessibility & contrast

On white

8.29
#4D5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D5215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5215
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5215#FFFFFF#000000##FFFFFF
##4D52151.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0C
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#524D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5215;
/* rgb */ color: rgb(77, 82, 21);
/* oklch */ color: oklch(42.1% 0.082 114.0);
Tailwind
colors: {
  custom: {
    50: '#818257',
    500: '#4d5215',
    950: '#000000',
  },
}
SCSS
$custom: #4d5215;
$custom-light: #818257;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5215",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 64.918,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42104,
    "c": 0.08198,
    "h": 114
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#4D5215
secondary
#40398A
accent
#45E252
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5215

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4D5215 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva