#4E7A1A#4E7A1A

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

Color values

HEX#4E7A1A
RGBrgb(78, 122, 26)
HSLhsl(88, 65%, 29%)
HSVhsv(88, 79%, 48%)
CMYKcmyk(36.1%, 0%, 78.7%, 52.2%)
CIE-LABlab(46.46, -30.95, 44.42)
CIE-LCHlch(46.46, 54.13, 124.87°)
OKLaboklab(52.81% -0.0876 0.0988)
OKLCHoklch(52.81% 0.132 131.6)
XYZxyz(10.2878, 15.6129, 3.4486)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A1A #461A7A
analogous
#7A761A #4E7A1A #1E7A1A
triadic
#4E7A1A #1A4E7A #7A1A4E
tetradic
#4E7A1A #1A7A76 #461A7A #7A1A1E
square
#4E7A1A #1A7A76 #461A7A #7A1A1E
split-complementary
#4E7A1A #1A1E7A #761A7A
monochromatic
#101905 #2E480F #4E7A1A #6EAC25 #8ED539

Accessibility & contrast

On white

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

On black

4.12
#4E7A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7A1A#FFFFFF#000000##FFFFFF
##4E7A1A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807004
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a1a;
/* rgb */ color: rgb(78, 122, 26);
/* oklch */ color: oklch(52.8% 0.132 131.6);
Tailwind
colors: {
  custom: {
    50: '#84a15f',
    500: '#4e7a1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a1a;
$custom-light: #84a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a1a",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 87.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.13209,
    "h": 131.6
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#4E7A1A
secondary
#7341AE
accent
#40E88D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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