#4E7A19#4E7A19

#4E7A19 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.133 H 131.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7A19
RGBrgb(78, 122, 25)
HSLhsl(87, 66%, 29%)
HSVhsv(87, 80%, 48%)
CMYKcmyk(36.1%, 0%, 79.5%, 52.2%)
CIE-LABlab(46.46, -31.01, 44.76)
CIE-LCHlch(46.46, 54.45, 124.71°)
OKLaboklab(52.8% -0.0879 0.0994)
OKLCHoklch(52.8% 0.133 131.5)
XYZxyz(10.2768, 15.6086, 3.3908)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A19 #45197A
analogous
#7A7619 #4E7A19 #1E7A19
triadic
#4E7A19 #194E7A #7A194E
tetradic
#4E7A19 #197A76 #45197A #7A191E
square
#4E7A19 #197A76 #45197A #7A191E
split-complementary
#4E7A19 #191E7A #76197A
monochromatic
#101905 #2E470F #4E7A19 #6EAD23 #8ED637

Accessibility & contrast

On white

5.09
#4E7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4E7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A19
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A19#FFFFFF#000000##FFFFFF
##4E7A191.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807002
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a19;
/* rgb */ color: rgb(78, 122, 25);
/* oklch */ color: oklch(52.8% 0.133 131.5);
Tailwind
colors: {
  custom: {
    50: '#84a15e',
    500: '#4e7a19',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a19;
$custom-light: #84a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a19",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 87.216,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.528,
    "c": 0.13266,
    "h": 131.5
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#4E7A19
secondary
#7240AF
accent
#3FE98C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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