#4E712A#4E712A

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

Color values

HEX#4E712A
RGBrgb(78, 113, 42)
HSLhsl(90, 46%, 30%)
HSVhsv(90, 63%, 44%)
CMYKcmyk(31%, 0%, 62.8%, 55.7%)
CIE-LABlab(43.65, -25.35, 34.65)
CIE-LCHlch(43.65, 42.94, 126.19°)
OKLaboklab(50.56% -0.071 0.0806)
OKLCHoklch(50.56% 0.107 131.4)
XYZxyz(9.4648, 13.5968, 4.3158)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E712A #4D2A71
analogous
#71702A #4E712A #2B712A
triadic
#4E712A #2A4E71 #712A4E
tetradic
#4E712A #2A7170 #4D2A71 #712A2B
square
#4E712A #2A7170 #4D2A71 #712A2B
split-complementary
#4E712A #2A2B71 #702A71
monochromatic
#101809 #2F4419 #4E712A #6D9E3B #8BC055

Accessibility & contrast

On white

5.65
#4E712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E712A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E712A#FFFFFF#000000##FFFFFF
##4E712A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766922
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#4F6C62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e712a;
/* rgb */ color: rgb(78, 113, 42);
/* oklch */ color: oklch(50.6% 0.107 131.4);
Tailwind
colors: {
  custom: {
    50: '#829a66',
    500: '#4e712a',
    950: '#000000',
  },
}
SCSS
$custom: #4e712a;
$custom-light: #829a66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e712a",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 89.577,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.10741,
    "h": 131.4
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#4E712A
secondary
#7B54A3
accent
#52D593
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E712A

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

Preview Lab → · Contrast checker → · Palette generator →

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