#4E7819#4E7819

#4E7819 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.3% C 0.130 H 131.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E7819
RGBrgb(78, 120, 25)
HSLhsl(87, 66%, 28%)
HSVhsv(87, 79%, 47%)
CMYKcmyk(35%, 0%, 79.2%, 52.9%)
CIE-LABlab(45.80, -30.08, 44.14)
CIE-LCHlch(45.80, 53.41, 124.27°)
OKLaboklab(52.26% -0.0854 0.0981)
OKLCHoklch(52.26% 0.13 131)
XYZxyz(10.0337, 15.1225, 3.3098)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7819 #431978
analogous
#787219 #4E7819 #1F7819
triadic
#4E7819 #194E78 #78194E
tetradic
#4E7819 #197872 #431978 #78191F
square
#4E7819 #197872 #431978 #78191F
split-complementary
#4E7819 #191F78 #721978
monochromatic
#101905 #2D450E #4E7819 #6FAB24 #8FD536

Accessibility & contrast

On white

5.22
#4E7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4E7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7819
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7819#FFFFFF#000000##FFFFFF
##4E78191.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E03
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#507366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7819;
/* rgb */ color: rgb(78, 120, 25);
/* oklch */ color: oklch(52.3% 0.130 131.0);
Tailwind
colors: {
  custom: {
    50: '#849f5e',
    500: '#4e7819',
    950: '#000000',
  },
}
SCSS
$custom: #4e7819;
$custom-light: #849f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7819",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 86.526,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.13002,
    "h": 131
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#4E7819
secondary
#7040AD
accent
#3FE88A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7819

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

Preview Lab → · Contrast checker → · Palette generator →

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