#4E712C#4E712C

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

Color values

HEX#4E712C
RGBrgb(78, 113, 44)
HSLhsl(90, 44%, 31%)
HSVhsv(90, 61%, 44%)
CMYKcmyk(31%, 0%, 61.1%, 55.7%)
CIE-LABlab(43.67, -25.15, 33.69)
CIE-LCHlch(43.67, 42.04, 126.74°)
OKLaboklab(50.58% -0.0703 0.0788)
OKLCHoklch(50.58% 0.106 131.7)
XYZxyz(9.5015, 13.6115, 4.5091)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E712C #4F2C71
analogous
#70712C #4E712C #2C712C
triadic
#4E712C #2C4E71 #712C4E
tetradic
#4E712C #2C7071 #4F2C71 #712C2C
square
#4E712C #2C7071 #4F2C71 #712C2C
split-complementary
#4E712C #2C2C71 #712C70
monochromatic
#11190A #30451B #4E712C #6C9D3D #8BBE59

Accessibility & contrast

On white

5.64
#4E712C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E712C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E712C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E712C#FFFFFF#000000##FFFFFF
##4E712C1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e712c;
/* rgb */ color: rgb(78, 113, 44);
/* oklch */ color: oklch(50.6% 0.106 131.7);
Tailwind
colors: {
  custom: {
    50: '#829a68',
    500: '#4e712c',
    950: '#000000',
  },
}
SCSS
$custom: #4e712c;
$custom-light: #829a68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e712c",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 90.435,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.10554,
    "h": 131.7
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#4E712C
secondary
#7D56A3
accent
#54D495
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E712C

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

Preview Lab → · Contrast checker → · Palette generator →

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