#4D5915#4D5915

#4D5915 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.9% C 0.091 H 119.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D5915
RGBrgb(77, 89, 21)
HSLhsl(71, 62%, 22%)
HSVhsv(71, 76%, 35%)
CMYKcmyk(13.5%, 0%, 76.4%, 65.1%)
CIE-LABlab(35.55, -14.96, 35.70)
CIE-LCHlch(35.55, 38.71, 112.73°)
OKLaboklab(43.93% -0.0443 0.0797)
OKLCHoklch(43.93% 0.091 119.1)
XYZxyz(6.7684, 8.7767, 2.0468)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5915 #211559
analogous
#594315 #4D5915 #2B5915
triadic
#4D5915 #154D59 #59154D
tetradic
#4D5915 #155943 #211559 #59152B
square
#4D5915 #155943 #211559 #59152B
split-complementary
#4D5915 #152B59 #431559
monochromatic
#151906 #222709 #4D5915 #788B21 #A3BC2C

Accessibility & contrast

On white

7.62
#4D5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5915
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5915#FFFFFF#000000##FFFFFF
##4D59151.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#52544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5915;
/* rgb */ color: rgb(77, 89, 21);
/* oklch */ color: oklch(43.9% 0.091 119.1);
Tailwind
colors: {
  custom: {
    50: '#818758',
    500: '#4d5915',
    950: '#000000',
  },
}
SCSS
$custom: #4d5915;
$custom-light: #818758;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5915",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 70.588,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.09119,
    "h": 119.1
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#4D5915
secondary
#493991
accent
#43E55F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5915

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

Preview Lab → · Contrast checker → · Palette generator →

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