#4E7D22#4E7D22

#4E7D22 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.131 H 133.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E7D22
RGBrgb(78, 125, 34)
HSLhsl(91, 57%, 31%)
HSVhsv(91, 73%, 49%)
CMYKcmyk(37.6%, 0%, 72.8%, 51%)
CIE-LABlab(47.50, -31.79, 42.38)
CIE-LCHlch(47.50, 52.98, 126.87°)
OKLaboklab(53.67% -0.0893 0.0958)
OKLCHoklch(53.67% 0.131 133)
XYZxyz(10.7641, 16.4020, 4.1118)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D22 #51227D
analogous
#7B7D22 #4E7D22 #227D23
triadic
#4E7D22 #224E7D #7D224E
tetradic
#4E7D22 #227B7D #51227D #7D2322
square
#4E7D22 #227B7D #51227D #7D2322
split-complementary
#4E7D22 #23227D #7D227B
monochromatic
#121D08 #304D15 #4E7D22 #6CAD2F #8BCE4B

Accessibility & contrast

On white

4.91
#4E7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D22
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D22#FFFFFF#000000##FFFFFF
##4E7D221.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d22;
/* rgb */ color: rgb(78, 125, 34);
/* oklch */ color: oklch(53.7% 0.131 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a363',
    500: '#4e7d22',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d22;
$custom-light: #84a363;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d22",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 90.989,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.13097,
    "h": 133
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#4E7D22
secondary
#7F4BB0
accent
#47E096
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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