#4E791D#4E791D

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

Color values

HEX#4E791D
RGBrgb(78, 121, 29)
HSLhsl(88, 61%, 29%)
HSVhsv(88, 76%, 47%)
CMYKcmyk(35.5%, 0%, 76%, 52.5%)
CIE-LABlab(46.15, -30.29, 43.01)
CIE-LCHlch(46.15, 52.60, 125.16°)
OKLaboklab(52.56% -0.0856 0.0964)
OKLCHoklch(52.56% 0.129 131.6)
XYZxyz(10.2009, 15.3828, 3.5939)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E791D #481D79
analogous
#79761D #4E791D #20791D
triadic
#4E791D #1D4E79 #791D4E
tetradic
#4E791D #1D7976 #481D79 #791D20
square
#4E791D #1D7976 #481D79 #791D20
split-complementary
#4E791D #1D2079 #761D79
monochromatic
#101906 #2E4811 #4E791D #6EAA29 #8DD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E791D#FFFFFF#000000##FFFFFF
##4E791D1.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)
#7E6F0B
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#4F7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e791d;
/* rgb */ color: rgb(78, 121, 29);
/* oklch */ color: oklch(52.6% 0.129 131.6);
Tailwind
colors: {
  custom: {
    50: '#83a060',
    500: '#4e791d',
    950: '#000000',
  },
}
SCSS
$custom: #4e791d;
$custom-light: #83a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4e791d",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 88.043,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.12891,
    "h": 131.6
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#4E791D
secondary
#7645AD
accent
#43E48F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E791D

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

Preview Lab → · Contrast checker → · Palette generator →

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