#4E7A1D#4E7A1D

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

Color values

HEX#4E7A1D
RGBrgb(78, 122, 29)
HSLhsl(88, 62%, 30%)
HSVhsv(88, 76%, 48%)
CMYKcmyk(36.1%, 0%, 76.2%, 52.2%)
CIE-LABlab(46.48, -30.76, 43.33)
CIE-LCHlch(46.48, 53.14, 125.37°)
OKLaboklab(52.83% -0.0869 0.097)
OKLCHoklch(52.83% 0.13 131.8)
XYZxyz(10.3231, 15.6271, 3.6346)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A1D #491D7A
analogous
#7A781D #4E7A1D #207A1D
triadic
#4E7A1D #1D4E7A #7A1D4E
tetradic
#4E7A1D #1D7A78 #491D7A #7A1D20
square
#4E7A1D #1D7A78 #491D7A #7A1D20
split-complementary
#4E7A1D #1D207A #781D7A
monochromatic
#101906 #2E4911 #4E7A1D #6EAB29 #8DD240

Accessibility & contrast

On white

5.09
#4E7A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7A1D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A1D#FFFFFF#000000##FFFFFF
##4E7A1D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a1d;
/* rgb */ color: rgb(78, 122, 29);
/* oklch */ color: oklch(52.8% 0.130 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a160',
    500: '#4e7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a1d;
$custom-light: #84a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a1d",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 88.387,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.13025,
    "h": 131.8
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#4E7A1D
secondary
#7745AE
accent
#43E590
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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