#4E8B25#4E8B25

#4E8B25 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.148 H 135.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B25
RGBrgb(78, 139, 37)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 73%, 55%)
CMYKcmyk(43.9%, 0%, 73.4%, 45.5%)
CIE-LABlab(52.08, -37.79, 45.85)
CIE-LCHlch(52.08, 59.41, 129.50°)
OKLaboklab(57.43% -0.1053 0.1035)
OKLCHoklch(57.43% 0.148 135.5)
XYZxyz(12.7081, 20.2178, 4.9827)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B25 #62258B
analogous
#818B25 #4E8B25 #258B2F
triadic
#4E8B25 #254E8B #8B254E
tetradic
#4E8B25 #25818B #62258B #8B2F25
square
#4E8B25 #25818B #62258B #8B2F25
split-complementary
#4E8B25 #2F258B #8B2581
monochromatic
#182A0B #335B18 #4E8B25 #69BB32 #89D358

Accessibility & contrast

On white

4.16
#4E8B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B25
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B25#FFFFFF#000000##000000
##4E8B251.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b25;
/* rgb */ color: rgb(78, 139, 37);
/* oklch */ color: oklch(57.4% 0.148 135.5);
Tailwind
colors: {
  custom: {
    50: '#85ad66',
    500: '#4e8b25',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b25;
$custom-light: #85ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b25",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 95.882,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.14768,
    "h": 135.5
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#4E8B25
secondary
#9055B7
accent
#47E1A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8B25

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

Preview Lab → · Contrast checker → · Palette generator →

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