#4E8115#4E8115

#4E8115 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.144 H 132.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E8115
RGBrgb(78, 129, 21)
HSLhsl(88, 72%, 29%)
HSVhsv(88, 84%, 51%)
CMYKcmyk(39.5%, 0%, 83.7%, 49.4%)
CIE-LABlab(48.73, -34.40, 48.15)
CIE-LCHlch(48.73, 59.18, 125.54°)
OKLaboklab(54.65% -0.0973 0.1059)
OKLCHoklch(54.65% 0.144 132.6)
XYZxyz(11.1274, 17.3738, 3.4765)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8115 #481581
analogous
#817E15 #4E8115 #188115
triadic
#4E8115 #154E81 #81154E
tetradic
#4E8115 #15817E #481581 #811518
square
#4E8115 #15817E #481581 #811518
split-complementary
#4E8115 #151881 #7E1581
monochromatic
#101A04 #2E4C0C #4E8115 #6EB61E #8DDE33

Accessibility & contrast

On white

4.69
#4E8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4E8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8115
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8115#FFFFFF#000000##FFFFFF
##4E81151.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#4F7B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8115;
/* rgb */ color: rgb(78, 129, 21);
/* oklch */ color: oklch(54.6% 0.144 132.6);
Tailwind
colors: {
  custom: {
    50: '#85a65d',
    500: '#4e8115',
    950: '#000000',
  },
}
SCSS
$custom: #4e8115;
$custom-light: #85a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8115",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 88.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.14378,
    "h": 132.6
  },
  "luminance": 0.17374
}

Semantic roles & 50–950 ramp

primary
#4E8115
secondary
#763CB6
accent
#39EF8F
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8115

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

Preview Lab → · Contrast checker → · Palette generator →

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