#4E8725#4E8725

#4E8725 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.142 H 135.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E8725
RGBrgb(78, 135, 37)
HSLhsl(95, 57%, 34%)
HSVhsv(95, 73%, 53%)
CMYKcmyk(42.2%, 0%, 72.6%, 47.1%)
CIE-LABlab(50.78, -36.05, 44.52)
CIE-LCHlch(50.78, 57.29, 129.00°)
OKLaboklab(56.36% -0.1006 0.1008)
OKLCHoklch(56.36% 0.142 135)
XYZxyz(12.1395, 19.0806, 4.7932)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8725 #5E2587
analogous
#7F8725 #4E8725 #25872D
triadic
#4E8725 #254E87 #87254E
tetradic
#4E8725 #257F87 #5E2587 #872D25
square
#4E8725 #257F87 #5E2587 #872D25
split-complementary
#4E8725 #2D2587 #87257F
monochromatic
#16270B #325718 #4E8725 #6AB732 #89D156

Accessibility & contrast

On white

4.36
#4E8725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E8725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8725
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8725#FFFFFF#000000##000000
##4E87251.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C15
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#4D8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8725;
/* rgb */ color: rgb(78, 135, 37);
/* oklch */ color: oklch(56.4% 0.142 135.0);
Tailwind
colors: {
  custom: {
    50: '#85aa66',
    500: '#4e8725',
    950: '#000000',
  },
}
SCSS
$custom: #4e8725;
$custom-light: #85aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8725",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 94.898,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.14238,
    "h": 135
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#4E8725
secondary
#8C53B5
accent
#48E0A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8725

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

Preview Lab → · Contrast checker → · Palette generator →

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