#4E8A2A#4E8A2A

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

Color values

HEX#4E8A2A
RGBrgb(78, 138, 42)
HSLhsl(98, 53%, 35%)
HSVhsv(98, 70%, 54%)
CMYKcmyk(43.5%, 0%, 69.6%, 45.9%)
CIE-LABlab(51.80, -36.95, 43.51)
CIE-LCHlch(51.80, 57.09, 130.34°)
OKLaboklab(57.2% -0.1027 0.0993)
OKLCHoklch(57.2% 0.143 135.9)
XYZxyz(12.6480, 19.9631, 5.3769)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A2A #662A8A
analogous
#7E8A2A #4E8A2A #2A8A36
triadic
#4E8A2A #2A4E8A #8A2A4E
tetradic
#4E8A2A #2A7E8A #662A8A #8A362A
square
#4E8A2A #2A7E8A #662A8A #8A362A
split-complementary
#4E8A2A #362A8A #8A2A7E
monochromatic
#192C0D #335B1C #4E8A2A #69B938 #89CF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8A2A#FFFFFF#000000##000000
##4E8A2A1.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)
#8F7F1C
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#4C8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a2a;
/* rgb */ color: rgb(78, 138, 42);
/* oklch */ color: oklch(57.2% 0.143 135.9);
Tailwind
colors: {
  custom: {
    50: '#85ac69',
    500: '#4e8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a2a;
$custom-light: #85ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a2a",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 97.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.14287,
    "h": 135.9
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#4E8A2A
secondary
#935BB4
accent
#4BDDA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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