#4E701F#4E701F

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

Color values

HEX#4E701F
RGBrgb(78, 112, 31)
HSLhsl(85, 57%, 28%)
HSVhsv(85, 72%, 44%)
CMYKcmyk(30.4%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.22, -25.83, 39.25)
CIE-LCHlch(43.22, 46.98, 123.35°)
OKLaboklab(50.18% -0.0733 0.0888)
OKLCHoklch(50.18% 0.115 129.5)
XYZxyz(9.1833, 13.3067, 3.3807)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E701F #411F70
analogous
#70691F #4E701F #26701F
triadic
#4E701F #1F4E70 #701F4E
tetradic
#4E701F #1F7069 #411F70 #701F26
square
#4E701F #1F7069 #411F70 #701F26
split-complementary
#4E701F #1F2670 #691F70
monochromatic
#111807 #2D4012 #4E701F #6FA02C #90CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E701F#FFFFFF#000000##FFFFFF
##4E701F1.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)
#756813
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#506B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e701f;
/* rgb */ color: rgb(78, 112, 31);
/* oklch */ color: oklch(50.2% 0.115 129.5);
Tailwind
colors: {
  custom: {
    50: '#839960',
    500: '#4e701f',
    950: '#000000',
  },
}
SCSS
$custom: #4e701f;
$custom-light: #839960;
$custom-dark: #000000;
JSON
{
  "hex": "#4e701f",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 85.185,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.11514,
    "h": 129.5
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4E701F
secondary
#6E47A4
accent
#48E088
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E701F

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

Preview Lab → · Contrast checker → · Palette generator →

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