#4E7E1A#4E7E1A

#4E7E1A is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.137 H 132.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E7E1A
RGBrgb(78, 126, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 79%, 49%)
CMYKcmyk(38.1%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.77, -32.78, 45.67)
CIE-LCHlch(47.77, 56.22, 125.67°)
OKLaboklab(53.88% -0.0926 0.1014)
OKLCHoklch(53.88% 0.137 132.4)
XYZxyz(10.7891, 16.6155, 3.6157)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E1A #4A1A7E
analogous
#7E7C1A #4E7E1A #1C7E1A
triadic
#4E7E1A #1A4E7E #7E1A4E
tetradic
#4E7E1A #1A7E7C #4A1A7E #7E1A1C
square
#4E7E1A #1A7E7C #4A1A7E #7E1A1C
split-complementary
#4E7E1A #1A1C7E #7C1A7E
monochromatic
#101905 #2F4B10 #4E7E1A #6DB124 #8CD73C

Accessibility & contrast

On white

4.86
#4E7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E1A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E1A#FFFFFF#000000##FFFFFF
##4E7E1A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#4F796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e1a;
/* rgb */ color: rgb(78, 126, 26);
/* oklch */ color: oklch(53.9% 0.137 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a45f',
    500: '#4e7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e1a;
$custom-light: #84a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e1a",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 88.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.13736,
    "h": 132.4
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#4E7E1A
secondary
#7842B2
accent
#3FE991
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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