#4E7F15#4E7F15

#4E7F15 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.141 H 132.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E7F15
RGBrgb(78, 127, 21)
HSLhsl(88, 72%, 29%)
HSVhsv(88, 83%, 50%)
CMYKcmyk(38.6%, 0%, 83.5%, 50.2%)
CIE-LABlab(48.07, -33.50, 47.56)
CIE-LCHlch(48.07, 58.17, 125.17°)
OKLaboklab(54.11% -0.0949 0.1046)
OKLCHoklch(54.11% 0.141 132.2)
XYZxyz(10.8665, 16.8521, 3.3896)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F15 #46157F
analogous
#7F7B15 #4E7F15 #197F15
triadic
#4E7F15 #154E7F #7F154E
tetradic
#4E7F15 #157F7B #46157F #7F1519
square
#4E7F15 #157F7B #46157F #7F1519
split-complementary
#4E7F15 #15197F #7B157F
monochromatic
#101A04 #2E4A0C #4E7F15 #6EB41E #8EDD31

Accessibility & contrast

On white

4.80
#4E7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E7F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F15
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F15#FFFFFF#000000##FFFFFF
##4E7F151.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f15;
/* rgb */ color: rgb(78, 127, 21);
/* oklch */ color: oklch(54.1% 0.141 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4e7f15',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f15;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f15",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 87.736,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.14122,
    "h": 132.2
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#4E7F15
secondary
#733CB4
accent
#39EE8D
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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