#4D7A2A#4D7A2A

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

Color values

HEX#4D7A2A
RGBrgb(77, 122, 42)
HSLhsl(94, 49%, 32%)
HSVhsv(94, 66%, 48%)
CMYKcmyk(36.9%, 0%, 65.6%, 52.2%)
CIE-LABlab(46.53, -30.09, 37.84)
CIE-LCHlch(46.53, 48.34, 128.49°)
OKLaboklab(52.89% -0.0839 0.0874)
OKLCHoklch(52.89% 0.121 133.8)
XYZxyz(10.4378, 15.6636, 4.6634)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A2A #572A7A
analogous
#757A2A #4D7A2A #2A7A2F
triadic
#4D7A2A #2A4D7A #7A2A4D
tetradic
#4D7A2A #2A757A #572A7A #7A2F2A
square
#4D7A2A #2A757A #572A7A #7A2F2A
split-complementary
#4D7A2A #2F2A7A #7A2A75
monochromatic
#141F0B #304C1A #4D7A2A #6AA83A #88C659

Accessibility & contrast

On white

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

On black

4.13
#4D7A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7A2A#FFFFFF#000000##FFFFFF
##4D7A2A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#4D7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a2a;
/* rgb */ color: rgb(77, 122, 42);
/* oklch */ color: oklch(52.9% 0.121 133.8);
Tailwind
colors: {
  custom: {
    50: '#82a167',
    500: '#4d7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a2a;
$custom-light: #82a167;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a2a",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 93.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.12115,
    "h": 133.8
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#4D7A2A
secondary
#8555AB
accent
#4FD89C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4D7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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