#4E791E#4E791E

#4E791E is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.128 H 131.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E791E
RGBrgb(78, 121, 30)
HSLhsl(88, 60%, 30%)
HSVhsv(88, 75%, 47%)
CMYKcmyk(35.5%, 0%, 75.2%, 52.5%)
CIE-LABlab(46.16, -30.22, 42.63)
CIE-LCHlch(46.16, 52.25, 125.34°)
OKLaboklab(52.57% -0.0854 0.0957)
OKLCHoklch(52.57% 0.128 131.7)
XYZxyz(10.2135, 15.3878, 3.6601)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E791E #491E79
analogous
#79771E #4E791E #20791E
triadic
#4E791E #1E4E79 #791E4E
tetradic
#4E791E #1E7977 #491E79 #791E20
square
#4E791E #1E7977 #491E79 #791E20
split-complementary
#4E791E #1E2079 #771E79
monochromatic
#101906 #2E4812 #4E791E #6EAA2A #8DD041

Accessibility & contrast

On white

5.15
#4E791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4E791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E791E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E791E#FFFFFF#000000##FFFFFF
##4E791E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#4F7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e791e;
/* rgb */ color: rgb(78, 121, 30);
/* oklch */ color: oklch(52.6% 0.128 131.7);
Tailwind
colors: {
  custom: {
    50: '#83a060',
    500: '#4e791e',
    950: '#000000',
  },
}
SCSS
$custom: #4e791e;
$custom-light: #83a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4e791e",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 88.352,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.12825,
    "h": 131.7
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#4E791E
secondary
#7746AD
accent
#44E390
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E791E

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

Preview Lab → · Contrast checker → · Palette generator →

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