#4E7C15#4E7C15

#4E7C15 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.137 H 131.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7C15
RGBrgb(78, 124, 21)
HSLhsl(87, 71%, 28%)
HSVhsv(87, 83%, 49%)
CMYKcmyk(37.1%, 0%, 83.1%, 51.4%)
CIE-LABlab(47.09, -32.15, 46.66)
CIE-LCHlch(47.09, 56.66, 124.56°)
OKLaboklab(53.31% -0.0912 0.1027)
OKLCHoklch(53.31% 0.137 131.6)
XYZxyz(10.4848, 16.0887, 3.2623)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C15 #43157C
analogous
#7C7615 #4E7C15 #1B7C15
triadic
#4E7C15 #154E7C #7C154E
tetradic
#4E7C15 #157C76 #43157C #7C151B
square
#4E7C15 #157C76 #43157C #7C151B
split-complementary
#4E7C15 #151B7C #76157C
monochromatic
#101A04 #2D480C #4E7C15 #6FB01E #8FDC30

Accessibility & contrast

On white

4.98
#4E7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C15#FFFFFF#000000##FFFFFF
##4E7C151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c15;
/* rgb */ color: rgb(78, 124, 21);
/* oklch */ color: oklch(53.3% 0.137 131.6);
Tailwind
colors: {
  custom: {
    50: '#84a25d',
    500: '#4e7c15',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c15;
$custom-light: #84a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c15",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 86.796,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.13737,
    "h": 131.6
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#4E7C15
secondary
#703CB1
accent
#3AEE8A
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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