#4D7A2D#4D7A2D

#4D7A2D is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.119 H 134.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4D7A2D
RGBrgb(77, 122, 45)
HSLhsl(95, 46%, 33%)
HSVhsv(95, 63%, 48%)
CMYKcmyk(36.9%, 0%, 63.1%, 52.2%)
CIE-LABlab(46.56, -29.79, 36.45)
CIE-LCHlch(46.56, 47.07, 129.26°)
OKLaboklab(52.92% -0.0828 0.0848)
OKLCHoklch(52.92% 0.119 134.3)
XYZxyz(10.4935, 15.6859, 4.9569)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A2D #5A2D7A
analogous
#737A2D #4D7A2D #2D7A33
triadic
#4D7A2D #2D4D7A #7A2D4D
tetradic
#4D7A2D #2D737A #5A2D7A #7A332D
square
#4D7A2D #2D737A #5A2D7A #7A332D
split-complementary
#4D7A2D #332D7A #7A2D73
monochromatic
#15210C #314D1D #4D7A2D #69A73D #88C45E

Accessibility & contrast

On white

5.08
#4D7A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4D7A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7A2D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7A2D#FFFFFF#000000##FFFFFF
##4D7A2D1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#4D756A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a2d;
/* rgb */ color: rgb(77, 122, 45);
/* oklch */ color: oklch(52.9% 0.119 134.3);
Tailwind
colors: {
  custom: {
    50: '#82a169',
    500: '#4d7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a2d;
$custom-light: #82a169;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a2d",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 95.065,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.11855,
    "h": 134.3
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#4D7A2D
secondary
#8859AA
accent
#52D69F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4D7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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