#4E702D#4E702D

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

Color values

HEX#4E702D
RGBrgb(78, 112, 45)
HSLhsl(90, 43%, 31%)
HSVhsv(90, 60%, 44%)
CMYKcmyk(30.4%, 0%, 59.8%, 56.1%)
CIE-LABlab(43.36, -24.54, 32.82)
CIE-LCHlch(43.36, 40.98, 126.79°)
OKLaboklab(50.33% -0.0685 0.077)
OKLCHoklch(50.33% 0.103 131.6)
XYZxyz(9.4096, 13.3972, 4.5723)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E702D #4F2D70
analogous
#6F702D #4E702D #2D702D
triadic
#4E702D #2D4E70 #702D4E
tetradic
#4E702D #2D6F70 #4F2D70 #702D2D
square
#4E702D #2D6F70 #4F2D70 #702D2D
split-complementary
#4E702D #2D2D70 #702D6F
monochromatic
#11190A #30441B #4E702D #6C9C3F #8BBD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E702D#FFFFFF#000000##FFFFFF
##4E702D1.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)
#756826
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#4F6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e702d;
/* rgb */ color: rgb(78, 112, 45);
/* oklch */ color: oklch(50.3% 0.103 131.6);
Tailwind
colors: {
  custom: {
    50: '#829968',
    500: '#4e702d',
    950: '#000000',
  },
}
SCSS
$custom: #4e702d;
$custom-light: #829968;
$custom-dark: #000000;
JSON
{
  "hex": "#4e702d",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 90.448,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.10306,
    "h": 131.6
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#4E702D
secondary
#7D57A2
accent
#55D295
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E702D

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

Preview Lab → · Contrast checker → · Palette generator →

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