#4D5A12#4D5A12

#4D5A12 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.2% C 0.095 H 119.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4D5A12
RGBrgb(77, 90, 18)
HSLhsl(71, 67%, 21%)
HSVhsv(71, 80%, 35%)
CMYKcmyk(14.4%, 0%, 80%, 64.7%)
CIE-LABlab(35.86, -15.69, 37.20)
CIE-LCHlch(35.86, 40.37, 112.87°)
OKLaboklab(44.17% -0.0466 0.0823)
OKLCHoklch(44.17% 0.095 119.5)
XYZxyz(6.8260, 8.9338, 1.9369)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5A12 #1F125A
analogous
#5A4312 #4D5A12 #295A12
triadic
#4D5A12 #124D5A #5A124D
tetradic
#4D5A12 #125A43 #1F125A #5A1229
square
#4D5A12 #125A43 #1F125A #5A1229
split-complementary
#4D5A12 #12295A #43125A
monochromatic
#161A05 #212708 #4D5A12 #798D1C #A4C026

Accessibility & contrast

On white

7.54
#4D5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5A12
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5A12#FFFFFF#000000##FFFFFF
##4D5A121.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#52554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5a12;
/* rgb */ color: rgb(77, 90, 18);
/* oklch */ color: oklch(44.2% 0.095 119.5);
Tailwind
colors: {
  custom: {
    50: '#818856',
    500: '#4d5a12',
    950: '#000000',
  },
}
SCSS
$custom: #4d5a12;
$custom-light: #818856;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5a12",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 70.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.09457,
    "h": 119.5
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#4D5A12
secondary
#463593
accent
#3EEA5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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