#4E7F2F#4E7F2F

#4E7F2F is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.123 H 135.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E7F2F
RGBrgb(78, 127, 47)
HSLhsl(97, 46%, 34%)
HSVhsv(97, 63%, 50%)
CMYKcmyk(38.6%, 0%, 63%, 50.2%)
CIE-LABlab(48.26, -31.55, 37.42)
CIE-LCHlch(48.26, 48.94, 130.14°)
OKLaboklab(54.33% -0.0876 0.0871)
OKLCHoklch(54.33% 0.124 135.2)
XYZxyz(11.2441, 17.0032, 5.3783)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F2F #602F7F
analogous
#767F2F #4E7F2F #2F7F38
triadic
#4E7F2F #2F4E7F #7F2F4E
tetradic
#4E7F2F #2F767F #602F7F #7F382F
square
#4E7F2F #2F767F #602F7F #7F382F
split-complementary
#4E7F2F #382F7F #7F2F76
monochromatic
#17260E #33521E #4E7F2F #69AC40 #89C563

Accessibility & contrast

On white

4.77
#4E7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4E7F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F2F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F2F#FFFFFF#000000##FFFFFF
##4E7F2F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#4D7A6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e7f2f;
/* rgb */ color: rgb(78, 127, 47);
/* oklch */ color: oklch(54.3% 0.123 135.2);
Tailwind
colors: {
  custom: {
    50: '#83a46b',
    500: '#4e7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f2f;
$custom-light: #83a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f2f",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 96.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.1235,
    "h": 135.2
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#4E7F2F
secondary
#8E5EAC
accent
#52D6A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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