#4E701C#4E701C

#4E701C is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.117 H 129.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E701C
RGBrgb(78, 112, 28)
HSLhsl(84, 60%, 27%)
HSVhsv(84, 75%, 44%)
CMYKcmyk(30.4%, 0%, 75%, 56.1%)
CIE-LABlab(43.20, -26.05, 40.46)
CIE-LCHlch(43.20, 48.12, 122.77°)
OKLaboklab(50.15% -0.0742 0.0909)
OKLCHoklch(50.15% 0.117 129.2)
XYZxyz(9.1456, 13.2916, 3.1821)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E701C #3E1C70
analogous
#70681C #4E701C #24701C
triadic
#4E701C #1C4E70 #701C4E
tetradic
#4E701C #1C7068 #3E1C70 #701C24
square
#4E701C #1C7068 #3E1C70 #701C24
split-complementary
#4E701C #1C2470 #681C70
monochromatic
#111806 #2C3F10 #4E701C #70A128 #91CD39

Accessibility & contrast

On white

5.74
#4E701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E701C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E701C#FFFFFF#000000##FFFFFF
##4E701C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#506B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e701c;
/* rgb */ color: rgb(78, 112, 28);
/* oklch */ color: oklch(50.2% 0.117 129.2);
Tailwind
colors: {
  custom: {
    50: '#83995e',
    500: '#4e701c',
    950: '#000000',
  },
}
SCSS
$custom: #4e701c;
$custom-light: #83995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e701c",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 84.286,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.1173,
    "h": 129.2
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#4E701C
secondary
#6B43A5
accent
#45E385
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E701C

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

Preview Lab → · Contrast checker → · Palette generator →

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