#4D5A10#4D5A10

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

Color values

HEX#4D5A10
RGBrgb(77, 90, 16)
HSLhsl(71, 70%, 21%)
HSVhsv(71, 82%, 35%)
CMYKcmyk(14.4%, 0%, 82.2%, 64.7%)
CIE-LABlab(35.84, -15.79, 37.93)
CIE-LCHlch(35.84, 41.09, 112.61°)
OKLaboklab(44.16% -0.0471 0.0834)
OKLCHoklch(44.16% 0.096 119.5)
XYZxyz(6.8104, 8.9276, 1.8545)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5A10 #1D105A
analogous
#5A4210 #4D5A10 #285A10
triadic
#4D5A10 #104D5A #5A104D
tetradic
#4D5A10 #105A42 #1D105A #5A1028
square
#4D5A10 #105A42 #1D105A #5A1028
split-complementary
#4D5A10 #10285A #42105A
monochromatic
#161A05 #212607 #4D5A10 #798E19 #A6C222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5A10#FFFFFF#000000##FFFFFF
##4D5A101.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)
#605401
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#52554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5a10;
/* rgb */ color: rgb(77, 90, 16);
/* oklch */ color: oklch(44.2% 0.096 119.5);
Tailwind
colors: {
  custom: {
    50: '#818855',
    500: '#4d5a10',
    950: '#000000',
  },
}
SCSS
$custom: #4d5a10;
$custom-light: #818855;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5a10",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 70.541,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.09581,
    "h": 119.5
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#4D5A10
secondary
#443393
accent
#3BED5A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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