#4E7D28#4E7D28

#4E7D28 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.126 H 133.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7D28
RGBrgb(78, 125, 40)
HSLhsl(93, 52%, 32%)
HSVhsv(93, 68%, 49%)
CMYKcmyk(37.6%, 0%, 68%, 51%)
CIE-LABlab(47.55, -31.29, 39.86)
CIE-LCHlch(47.55, 50.68, 128.13°)
OKLaboklab(53.72% -0.0874 0.0914)
OKLCHoklch(53.72% 0.126 133.7)
XYZxyz(10.8583, 16.4397, 4.6081)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D28 #57287D
analogous
#797D28 #4E7D28 #287D2C
triadic
#4E7D28 #284E7D #7D284E
tetradic
#4E7D28 #28797D #57287D #7D2C28
square
#4E7D28 #28797D #57287D #7D2C28
split-complementary
#4E7D28 #2C287D #7D2879
monochromatic
#14200A #314F19 #4E7D28 #6BAB37 #8AC956

Accessibility & contrast

On white

4.90
#4E7D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E7D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D28
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D28#FFFFFF#000000##FFFFFF
##4E7D281.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#4E786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d28;
/* rgb */ color: rgb(78, 125, 40);
/* oklch */ color: oklch(53.7% 0.126 133.7);
Tailwind
colors: {
  custom: {
    50: '#83a366',
    500: '#4e7d28',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d28;
$custom-light: #83a366;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d28",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 93.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.12649,
    "h": 133.7
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#4E7D28
secondary
#8553AE
accent
#4DDB9B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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