#4E7A1E#4E7A1E

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

Color values

HEX#4E7A1E
RGBrgb(78, 122, 30)
HSLhsl(89, 61%, 30%)
HSVhsv(89, 75%, 48%)
CMYKcmyk(36.1%, 0%, 75.4%, 52.2%)
CIE-LABlab(46.49, -30.69, 42.95)
CIE-LCHlch(46.49, 52.79, 125.55°)
OKLaboklab(52.84% -0.0866 0.0964)
OKLCHoklch(52.84% 0.13 131.9)
XYZxyz(10.3356, 15.6321, 3.7008)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A1E #4A1E7A
analogous
#7A781E #4E7A1E #207A1E
triadic
#4E7A1E #1E4E7A #7A1E4E
tetradic
#4E7A1E #1E7A78 #4A1E7A #7A1E20
square
#4E7A1E #1E7A78 #4A1E7A #7A1E20
split-complementary
#4E7A1E #1E207A #781E7A
monochromatic
#101906 #2F4912 #4E7A1E #6DAB2A #8CD042

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7A1E#FFFFFF#000000##FFFFFF
##4E7A1E1.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)
#7F700D
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a1e;
/* rgb */ color: rgb(78, 122, 30);
/* oklch */ color: oklch(52.8% 0.130 131.9);
Tailwind
colors: {
  custom: {
    50: '#84a161',
    500: '#4e7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a1e;
$custom-light: #84a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a1e",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 88.696,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.12961,
    "h": 131.9
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#4E7A1E
secondary
#7846AE
accent
#44E490
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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