#4E712B#4E712B

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

Color values

HEX#4E712B
RGBrgb(78, 113, 43)
HSLhsl(90, 45%, 31%)
HSVhsv(90, 62%, 44%)
CMYKcmyk(31%, 0%, 61.9%, 55.7%)
CIE-LABlab(43.66, -25.25, 34.17)
CIE-LCHlch(43.66, 42.49, 126.46°)
OKLaboklab(50.57% -0.0706 0.0797)
OKLCHoklch(50.57% 0.106 131.6)
XYZxyz(9.4829, 13.6041, 4.4112)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E712B #4E2B71
analogous
#71712B #4E712B #2B712B
triadic
#4E712B #2B4E71 #712B4E
tetradic
#4E712B #2B7171 #4E2B71 #712B2B
square
#4E712B #2B7171 #4E2B71 #712B2B
split-complementary
#4E712B #2B2B71 #712B71
monochromatic
#111809 #2F451A #4E712B #6D9D3C #8BBF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E712B#FFFFFF#000000##FFFFFF
##4E712B1.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)
#766923
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#4F6C62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e712b;
/* rgb */ color: rgb(78, 113, 43);
/* oklch */ color: oklch(50.6% 0.106 131.6);
Tailwind
colors: {
  custom: {
    50: '#829a67',
    500: '#4e712b',
    950: '#000000',
  },
}
SCSS
$custom: #4e712b;
$custom-light: #829a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e712b",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 90,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.10649,
    "h": 131.6
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#4E712B
secondary
#7C55A3
accent
#53D594
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E712B

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

Preview Lab → · Contrast checker → · Palette generator →

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