#4E7015#4E7015

#4E7015 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.122 H 128.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4E7015
RGBrgb(78, 112, 21)
HSLhsl(82, 68%, 26%)
HSVhsv(82, 81%, 44%)
CMYKcmyk(30.4%, 0%, 81.2%, 56.1%)
CIE-LABlab(43.16, -26.48, 43.02)
CIE-LCHlch(43.16, 50.52, 121.61°)
OKLaboklab(50.1% -0.0759 0.0951)
OKLCHoklch(50.1% 0.122 128.6)
XYZxyz(9.0714, 13.2619, 2.7912)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7015 #371570
analogous
#706415 #4E7015 #207015
triadic
#4E7015 #154E70 #70154E
tetradic
#4E7015 #157064 #371570 #701520
square
#4E7015 #157064 #371570 #701520
split-complementary
#4E7015 #152070 #641570
monochromatic
#121A05 #2A3C0B #4E7015 #72A41F #96D729

Accessibility & contrast

On white

5.75
#4E7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4E7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7015
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7015#FFFFFF#000000##FFFFFF
##4E70151.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#516B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e7015;
/* rgb */ color: rgb(78, 112, 21);
/* oklch */ color: oklch(50.1% 0.122 128.6);
Tailwind
colors: {
  custom: {
    50: '#83995b',
    500: '#4e7015',
    950: '#000000',
  },
}
SCSS
$custom: #4e7015;
$custom-light: #83995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7015",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 82.418,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.12165,
    "h": 128.6
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#4E7015
secondary
#633BA6
accent
#3DEB7E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7015

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

Preview Lab → · Contrast checker → · Palette generator →

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