#4E791B#4E791B

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

Color values

HEX#4E791B
RGBrgb(78, 121, 27)
HSLhsl(87, 64%, 29%)
HSVhsv(87, 78%, 47%)
CMYKcmyk(35.5%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.14, -30.42, 43.74)
CIE-LCHlch(46.14, 53.28, 124.82°)
OKLaboklab(52.55% -0.0861 0.0976)
OKLCHoklch(52.55% 0.13 131.4)
XYZxyz(10.1770, 15.3732, 3.4678)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E791B #461B79
analogous
#79751B #4E791B #1F791B
triadic
#4E791B #1B4E79 #791B4E
tetradic
#4E791B #1B7975 #461B79 #791B1F
square
#4E791B #1B7975 #461B79 #791B1F
split-complementary
#4E791B #1B1F79 #751B79
monochromatic
#101906 #2E4710 #4E791B #6EAB26 #8ED33B

Accessibility & contrast

On white

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

On black

4.07
#4E791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E791B#FFFFFF#000000##FFFFFF
##4E791B1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e791b;
/* rgb */ color: rgb(78, 121, 27);
/* oklch */ color: oklch(52.5% 0.130 131.4);
Tailwind
colors: {
  custom: {
    50: '#84a05f',
    500: '#4e791b',
    950: '#000000',
  },
}
SCSS
$custom: #4e791b;
$custom-light: #84a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e791b",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 87.447,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.13015,
    "h": 131.4
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#4E791B
secondary
#7343AD
accent
#41E78D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E791B

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

Preview Lab → · Contrast checker → · Palette generator →

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