#4E702A#4E702A

#4E702A is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.106 H 131.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E702A
RGBrgb(78, 112, 42)
HSLhsl(89, 45%, 30%)
HSVhsv(89, 63%, 44%)
CMYKcmyk(30.4%, 0%, 62.5%, 56.1%)
CIE-LABlab(43.32, -24.86, 34.28)
CIE-LCHlch(43.32, 42.35, 125.94°)
OKLaboklab(50.29% -0.0696 0.0798)
OKLCHoklch(50.29% 0.106 131.1)
XYZxyz(9.3539, 13.3749, 4.2788)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E702A #4C2A70
analogous
#706F2A #4E702A #2B702A
triadic
#4E702A #2A4E70 #702A4E
tetradic
#4E702A #2A706F #4C2A70 #702A2B
square
#4E702A #2A706F #4C2A70 #702A2B
split-complementary
#4E702A #2A2B70 #6F2A70
monochromatic
#101709 #2F4319 #4E702A #6D9D3B #8CBF55

Accessibility & contrast

On white

5.71
#4E702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E702A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E702A#FFFFFF#000000##FFFFFF
##4E702A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756822
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#4F6B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e702a;
/* rgb */ color: rgb(78, 112, 42);
/* oklch */ color: oklch(50.3% 0.106 131.1);
Tailwind
colors: {
  custom: {
    50: '#829966',
    500: '#4e702a',
    950: '#000000',
  },
}
SCSS
$custom: #4e702a;
$custom-light: #829966;
$custom-dark: #000000;
JSON
{
  "hex": "#4e702a",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 89.143,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.10592,
    "h": 131.1
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#4E702A
secondary
#7A54A2
accent
#53D592
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E702A

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

Preview Lab → · Contrast checker → · Palette generator →

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