#4E7520#4E7520

#4E7520 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.121 H 131.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E7520
RGBrgb(78, 117, 32)
HSLhsl(88, 57%, 29%)
HSVhsv(88, 73%, 46%)
CMYKcmyk(33.3%, 0%, 72.6%, 54.1%)
CIE-LABlab(44.87, -28.18, 40.51)
CIE-LCHlch(44.87, 49.35, 124.83°)
OKLaboklab(51.52% -0.0796 0.0916)
OKLCHoklch(51.52% 0.121 131)
XYZxyz(9.7638, 14.4462, 3.6402)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7520 #472075
analogous
#757220 #4E7520 #247520
triadic
#4E7520 #204E75 #75204E
tetradic
#4E7520 #207572 #472075 #752024
square
#4E7520 #207572 #472075 #752024
split-complementary
#4E7520 #202475 #722075
monochromatic
#101807 #2E4513 #4E7520 #6EA52D #8DCC44

Accessibility & contrast

On white

5.40
#4E7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7520
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7520#FFFFFF#000000##FFFFFF
##4E75201.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#507064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7520;
/* rgb */ color: rgb(78, 117, 32);
/* oklch */ color: oklch(51.5% 0.121 131.0);
Tailwind
colors: {
  custom: {
    50: '#839d61',
    500: '#4e7520',
    950: '#000000',
  },
}
SCSS
$custom: #4e7520;
$custom-light: #839d61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7520",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 87.529,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.12139,
    "h": 131
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#4E7520
secondary
#7448A8
accent
#47E08E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7520

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

Preview Lab → · Contrast checker → · Palette generator →

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