#4E712F#4E712F

#4E712F is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.103 H 132.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4E712F
RGBrgb(78, 113, 47)
HSLhsl(92, 41%, 31%)
HSVhsv(92, 58%, 44%)
CMYKcmyk(31%, 0%, 58.4%, 55.7%)
CIE-LABlab(43.70, -24.82, 32.20)
CIE-LCHlch(43.70, 40.66, 127.62°)
OKLaboklab(50.62% -0.0691 0.0759)
OKLCHoklch(50.62% 0.103 132.3)
XYZxyz(9.5600, 13.6349, 4.8169)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E712F #522F71
analogous
#6F712F #4E712F #2F7131
triadic
#4E712F #2F4E71 #712F4E
tetradic
#4E712F #2F6F71 #522F71 #71312F
square
#4E712F #2F6F71 #522F71 #71312F
split-complementary
#4E712F #312F71 #712F6F
monochromatic
#121B0B #30461D #4E712F #6C9C41 #8ABC5E

Accessibility & contrast

On white

5.63
#4E712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E712F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E712F#FFFFFF#000000##FFFFFF
##4E712F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766928
Deuteranopia (green-blind)
#716634
Tritanopia (blue-blind)
#4F6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e712f;
/* rgb */ color: rgb(78, 113, 47);
/* oklch */ color: oklch(50.6% 0.103 132.3);
Tailwind
colors: {
  custom: {
    50: '#829a6a',
    500: '#4e712f',
    950: '#000000',
  },
}
SCSS
$custom: #4e712f;
$custom-light: #829a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e712f",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 91.818,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.10262,
    "h": 132.3
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#4E712F
secondary
#805AA2
accent
#57D198
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E712F

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

Preview Lab → · Contrast checker → · Palette generator →

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