#4D5A11#4D5A11

#4D5A11 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#4D5A11
RGBrgb(77, 90, 17)
HSLhsl(71, 68%, 21%)
HSVhsv(71, 81%, 35%)
CMYKcmyk(14.4%, 0%, 81.1%, 64.7%)
CIE-LABlab(35.85, -15.74, 37.57)
CIE-LCHlch(35.85, 40.73, 112.73°)
OKLaboklab(44.16% -0.0469 0.0829)
OKLCHoklch(44.16% 0.095 119.5)
XYZxyz(6.8180, 8.9306, 1.8948)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5A11 #1E115A
analogous
#5A4211 #4D5A11 #285A11
triadic
#4D5A11 #114D5A #5A114D
tetradic
#4D5A11 #115A42 #1E115A #5A1128
square
#4D5A11 #115A42 #1E115A #5A1128
split-complementary
#4D5A11 #11285A #42115A
monochromatic
#161A05 #212707 #4D5A11 #798D1B #A5C124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5A11#FFFFFF#000000##FFFFFF
##4D5A111.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)
#605402
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#52554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5a11;
/* rgb */ color: rgb(77, 90, 17);
/* oklch */ color: oklch(44.2% 0.095 119.5);
Tailwind
colors: {
  custom: {
    50: '#818856',
    500: '#4d5a11',
    950: '#000000',
  },
}
SCSS
$custom: #4d5a11;
$custom-light: #818856;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5a11",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 70.685,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.0952,
    "h": 119.5
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#4D5A11
secondary
#453493
accent
#3DEB5C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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