#4E7F2D#4E7F2D

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

Color values

HEX#4E7F2D
RGBrgb(78, 127, 45)
HSLhsl(96, 48%, 34%)
HSVhsv(96, 65%, 50%)
CMYKcmyk(38.6%, 0%, 64.6%, 50.2%)
CIE-LABlab(48.24, -31.75, 38.34)
CIE-LCHlch(48.24, 49.78, 129.63°)
OKLaboklab(54.31% -0.0883 0.0888)
OKLCHoklch(54.31% 0.125 134.8)
XYZxyz(11.2047, 16.9874, 5.1706)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F2D #5E2D7F
analogous
#777F2D #4E7F2D #2D7F35
triadic
#4E7F2D #2D4E7F #7F2D4E
tetradic
#4E7F2D #2D777F #5E2D7F #7F352D
square
#4E7F2D #2D777F #5E2D7F #7F352D
split-complementary
#4E7F2D #352D7F #7F2D77
monochromatic
#16250D #32521D #4E7F2D #6AAC3D #89C760

Accessibility & contrast

On white

4.78
#4E7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7F2D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F2D#FFFFFF#000000##FFFFFF
##4E7F2D1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7f2d;
/* rgb */ color: rgb(78, 127, 45);
/* oklch */ color: oklch(54.3% 0.125 134.8);
Tailwind
colors: {
  custom: {
    50: '#83a46a',
    500: '#4e7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f2d;
$custom-light: #83a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f2d",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 95.854,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.12522,
    "h": 134.8
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#4E7F2D
secondary
#8C5BAD
accent
#51D7A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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