#4E791C#4E791C

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

Color values

HEX#4E791C
RGBrgb(78, 121, 28)
HSLhsl(88, 62%, 29%)
HSVhsv(88, 77%, 47%)
CMYKcmyk(35.5%, 0%, 76.9%, 52.5%)
CIE-LABlab(46.15, -30.36, 43.38)
CIE-LCHlch(46.15, 52.95, 124.99°)
OKLaboklab(52.55% -0.0859 0.097)
OKLCHoklch(52.55% 0.13 131.5)
XYZxyz(10.1888, 15.3779, 3.5298)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E791C #471C79
analogous
#79761C #4E791C #20791C
triadic
#4E791C #1C4E79 #791C4E
tetradic
#4E791C #1C7976 #471C79 #791C20
square
#4E791C #1C7976 #471C79 #791C20
split-complementary
#4E791C #1C2079 #761C79
monochromatic
#101906 #2E4710 #4E791C #6EAB28 #8DD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E791C#FFFFFF#000000##FFFFFF
##4E791C1.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)
#7F6F09
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#4F7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e791c;
/* rgb */ color: rgb(78, 121, 28);
/* oklch */ color: oklch(52.6% 0.130 131.5);
Tailwind
colors: {
  custom: {
    50: '#84a05f',
    500: '#4e791c',
    950: '#000000',
  },
}
SCSS
$custom: #4e791c;
$custom-light: #84a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e791c",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 87.742,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.12954,
    "h": 131.5
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#4E791C
secondary
#7444AD
accent
#42E58E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E791C

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

Preview Lab → · Contrast checker → · Palette generator →

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