#4E7219#4E7219

#4E7219 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.122 H 129.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E7219
RGBrgb(78, 114, 25)
HSLhsl(84, 64%, 27%)
HSVhsv(84, 78%, 45%)
CMYKcmyk(31.6%, 0%, 78.1%, 55.3%)
CIE-LABlab(43.83, -27.22, 42.25)
CIE-LCHlch(43.83, 50.26, 122.80°)
OKLaboklab(50.66% -0.0776 0.0941)
OKLCHoklch(50.66% 0.122 129.5)
XYZxyz(9.3346, 13.7242, 3.0767)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7219 #3D1972
analogous
#726A19 #4E7219 #217219
triadic
#4E7219 #194E72 #72194E
tetradic
#4E7219 #19726A #3D1972 #721921
square
#4E7219 #19726A #3D1972 #721921
split-complementary
#4E7219 #192172 #6A1972
monochromatic
#111906 #2C400E #4E7219 #70A424 #92D233

Accessibility & contrast

On white

5.61
#4E7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7219
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7219#FFFFFF#000000##FFFFFF
##4E72191.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786906
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#506D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7219;
/* rgb */ color: rgb(78, 114, 25);
/* oklch */ color: oklch(50.7% 0.122 129.5);
Tailwind
colors: {
  custom: {
    50: '#839a5d',
    500: '#4e7219',
    950: '#000000',
  },
}
SCSS
$custom: #4e7219;
$custom-light: #839a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7219",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 84.27,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.12198,
    "h": 129.5
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#4E7219
secondary
#6A40A7
accent
#41E784
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7219

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

Preview Lab → · Contrast checker → · Palette generator →

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