#4E8F25#4E8F25

#4E8F25 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.153 H 136.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E8F25
RGBrgb(78, 143, 37)
HSLhsl(97, 59%, 35%)
HSVhsv(97, 74%, 56%)
CMYKcmyk(45.5%, 0%, 74.1%, 43.9%)
CIE-LABlab(53.38, -39.49, 47.16)
CIE-LCHlch(53.38, 61.51, 129.94°)
OKLaboklab(58.49% -0.1099 0.1063)
OKLCHoklch(58.49% 0.153 136)
XYZxyz(13.2979, 21.3974, 5.1793)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F25 #66258F
analogous
#838F25 #4E8F25 #258F31
triadic
#4E8F25 #254E8F #8F254E
tetradic
#4E8F25 #25838F #66258F #8F3125
square
#4E8F25 #25838F #66258F #8F3125
split-complementary
#4E8F25 #31258F #8F2583
monochromatic
#192E0C #335E18 #4E8F25 #69C032 #89D45A

Accessibility & contrast

On white

3.98
#4E8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F25
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F25#FFFFFF#000000##000000
##4E8F251.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948312
Deuteranopia (green-blind)
#8B7E2F
Tritanopia (blue-blind)
#4B8A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f25;
/* rgb */ color: rgb(78, 143, 37);
/* oklch */ color: oklch(58.5% 0.153 136.0);
Tailwind
colors: {
  custom: {
    50: '#86b067',
    500: '#4e8f25',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f25;
$custom-light: #86b067;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f25",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 96.792,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.1529,
    "h": 136
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#4E8F25
secondary
#9357B9
accent
#46E2A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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