#4E8B28#4E8B28

#4E8B28 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.146 H 135.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E8B28
RGBrgb(78, 139, 40)
HSLhsl(97, 55%, 35%)
HSVhsv(97, 71%, 55%)
CMYKcmyk(43.9%, 0%, 71.2%, 45.5%)
CIE-LABlab(52.10, -37.55, 44.67)
CIE-LCHlch(52.10, 58.36, 130.05°)
OKLaboklab(57.45% -0.1045 0.1015)
OKLCHoklch(57.45% 0.146 135.8)
XYZxyz(12.7572, 20.2374, 5.2411)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B28 #65288B
analogous
#7F8B28 #4E8B28 #288B34
triadic
#4E8B28 #284E8B #8B284E
tetradic
#4E8B28 #287F8B #65288B #8B3428
square
#4E8B28 #287F8B #65288B #8B3428
split-complementary
#4E8B28 #34288B #8B287F
monochromatic
#192C0D #335B1A #4E8B28 #69BB36 #89D05D

Accessibility & contrast

On white

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

On black

5.05
#4E8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B28
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B28#FFFFFF#000000##000000
##4E8B281.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8b28;
/* rgb */ color: rgb(78, 139, 40);
/* oklch */ color: oklch(57.5% 0.146 135.8);
Tailwind
colors: {
  custom: {
    50: '#85ad68',
    500: '#4e8b28',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b28;
$custom-light: #85ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b28",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 96.97,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.14564,
    "h": 135.8
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#4E8B28
secondary
#9259B6
accent
#49DFA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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