#4E702F#4E702F

#4E702F is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.101 H 132.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E702F
RGBrgb(78, 112, 47)
HSLhsl(91, 41%, 31%)
HSVhsv(91, 58%, 44%)
CMYKcmyk(30.4%, 0%, 58%, 56.1%)
CIE-LABlab(43.38, -24.32, 31.82)
CIE-LCHlch(43.38, 40.05, 127.39°)
OKLaboklab(50.36% -0.0677 0.0751)
OKLCHoklch(50.36% 0.101 132.1)
XYZxyz(9.4490, 13.4130, 4.7799)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E702F #512F70
analogous
#6E702F #4E702F #2F7030
triadic
#4E702F #2F4E70 #702F4E
tetradic
#4E702F #2F6E70 #512F70 #70302F
square
#4E702F #2F6E70 #512F70 #70302F
split-complementary
#4E702F #302F70 #702F6E
monochromatic
#121A0B #30451D #4E702F #6C9B41 #8BBB5E

Accessibility & contrast

On white

5.70
#4E702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E702F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E702F#FFFFFF#000000##FFFFFF
##4E702F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756829
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#4F6C62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e702f;
/* rgb */ color: rgb(78, 112, 47);
/* oklch */ color: oklch(50.4% 0.101 132.1);
Tailwind
colors: {
  custom: {
    50: '#82996a',
    500: '#4e702f',
    950: '#000000',
  },
}
SCSS
$custom: #4e702f;
$custom-light: #82996a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e702f",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 91.385,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.10109,
    "h": 132.1
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#4E702F
secondary
#7F5AA1
accent
#57D197
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E702F

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

Preview Lab → · Contrast checker → · Palette generator →

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