#4E8A28#4E8A28

#4E8A28 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.144 H 135.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E8A28
RGBrgb(78, 138, 40)
HSLhsl(97, 55%, 35%)
HSVhsv(97, 71%, 54%)
CMYKcmyk(43.5%, 0%, 71%, 45.9%)
CIE-LABlab(51.78, -37.12, 44.33)
CIE-LCHlch(51.78, 57.82, 129.94°)
OKLaboklab(57.18% -0.1033 0.1008)
OKLCHoklch(57.18% 0.144 135.7)
XYZxyz(12.6131, 19.9491, 5.1930)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A28 #64288A
analogous
#7F8A28 #4E8A28 #288A33
triadic
#4E8A28 #284E8A #8A284E
tetradic
#4E8A28 #287F8A #64288A #8A3328
square
#4E8A28 #287F8A #64288A #8A3328
split-complementary
#4E8A28 #33288A #8A287F
monochromatic
#182B0C #335B1A #4E8A28 #69B936 #89D05D

Accessibility & contrast

On white

4.21
#4E8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A28
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A28#FFFFFF#000000##000000
##4E8A281.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a28;
/* rgb */ color: rgb(78, 138, 40);
/* oklch */ color: oklch(57.2% 0.144 135.7);
Tailwind
colors: {
  custom: {
    50: '#85ac68',
    500: '#4e8a28',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a28;
$custom-light: #85ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a28",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 96.735,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.14431,
    "h": 135.7
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

primary
#4E8A28
secondary
#9159B5
accent
#49DEA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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