#4D7A19#4D7A19

#4D7A19 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.133 H 131.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4D7A19
RGBrgb(77, 122, 25)
HSLhsl(88, 66%, 29%)
HSVhsv(88, 80%, 48%)
CMYKcmyk(36.9%, 0%, 79.5%, 52.2%)
CIE-LABlab(46.40, -31.40, 44.69)
CIE-LCHlch(46.40, 54.61, 125.09°)
OKLaboklab(52.74% -0.0889 0.0993)
OKLCHoklch(52.74% 0.133 131.8)
XYZxyz(10.1955, 15.5666, 3.3870)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A19 #46197A
analogous
#7A7719 #4D7A19 #1D7A19
triadic
#4D7A19 #194D7A #7A194D
tetradic
#4D7A19 #197A77 #46197A #7A191D
square
#4D7A19 #197A77 #46197A #7A191D
split-complementary
#4D7A19 #191D7A #77197A
monochromatic
#101905 #2D470F #4D7A19 #6DAD23 #8CD637

Accessibility & contrast

On white

5.11
#4D7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4D7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7A19
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7A19#FFFFFF#000000##FFFFFF
##4D7A191.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807002
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#4E7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a19;
/* rgb */ color: rgb(77, 122, 25);
/* oklch */ color: oklch(52.7% 0.133 131.8);
Tailwind
colors: {
  custom: {
    50: '#83a15e',
    500: '#4d7a19',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a19;
$custom-light: #83a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a19",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 87.835,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.13322,
    "h": 131.8
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#4D7A19
secondary
#7340AF
accent
#3FE98E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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