#4E7020#4E7020

#4E7020 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.114 H 129.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4E7020
RGBrgb(78, 112, 32)
HSLhsl(86, 56%, 28%)
HSVhsv(86, 71%, 44%)
CMYKcmyk(30.4%, 0%, 71.4%, 56.1%)
CIE-LABlab(43.23, -25.76, 38.83)
CIE-LCHlch(43.23, 46.59, 123.56°)
OKLaboklab(50.19% -0.073 0.0881)
OKLCHoklch(50.19% 0.114 129.7)
XYZxyz(9.1967, 13.3121, 3.4512)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7020 #422070
analogous
#706A20 #4E7020 #267020
triadic
#4E7020 #204E70 #70204E
tetradic
#4E7020 #20706A #422070 #702026
square
#4E7020 #20706A #422070 #702026
split-complementary
#4E7020 #202670 #6A2070
monochromatic
#111807 #2D4012 #4E7020 #6FA02E #8FC942

Accessibility & contrast

On white

5.73
#4E7020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E7020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7020
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7020#FFFFFF#000000##FFFFFF
##4E70201.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756814
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#506B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e7020;
/* rgb */ color: rgb(78, 112, 32);
/* oklch */ color: oklch(50.2% 0.114 129.7);
Tailwind
colors: {
  custom: {
    50: '#839960',
    500: '#4e7020',
    950: '#000000',
  },
}
SCSS
$custom: #4e7020;
$custom-light: #839960;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7020",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 85.5,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.1144,
    "h": 129.7
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#4E7020
secondary
#6F48A4
accent
#49DF89
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7020

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

Preview Lab → · Contrast checker → · Palette generator →

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