#4E8E15#4E8E15

#4E8E15 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.160 H 134.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E8E15
RGBrgb(78, 142, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(45.1%, 0%, 85.2%, 44.3%)
CIE-LABlab(52.97, -40.00, 51.97)
CIE-LCHlch(52.97, 65.58, 127.59°)
OKLaboklab(58.13% -0.1123 0.1139)
OKLCHoklch(58.13% 0.16 134.6)
XYZxyz(12.9500, 21.0191, 4.0840)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E15 #55158E
analogous
#8A8E15 #4E8E15 #158E19
triadic
#4E8E15 #154E8E #8E154E
tetradic
#4E8E15 #158A8E #55158E #8E1915
square
#4E8E15 #158A8E #55158E #8E1915
split-complementary
#4E8E15 #19158E #8E158A
monochromatic
#132305 #31590D #4E8E15 #6BC31D #8AE23B

Accessibility & contrast

On white

4.04
#4E8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4E8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E15
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E15#FFFFFF#000000##000000
##4E8E151.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8e15;
/* rgb */ color: rgb(78, 142, 21);
/* oklch */ color: oklch(58.1% 0.160 134.6);
Tailwind
colors: {
  custom: {
    50: '#86af60',
    500: '#4e8e15',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e15;
$custom-light: #86af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e15",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 91.736,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.15997,
    "h": 134.6
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

primary
#4E8E15
secondary
#833DC2
accent
#37F199
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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