#4E852D#4E852D

#4E852D is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.134 H 135.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E852D
RGBrgb(78, 133, 45)
HSLhsl(98, 49%, 35%)
HSVhsv(98, 66%, 52%)
CMYKcmyk(41.4%, 0%, 66.2%, 47.8%)
CIE-LABlab(50.20, -34.48, 40.48)
CIE-LCHlch(50.20, 53.18, 130.42°)
OKLaboklab(55.9% -0.0957 0.0934)
OKLCHoklch(55.9% 0.134 135.7)
XYZxyz(12.0028, 18.5836, 5.4367)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E852D #642D85
analogous
#7A852D #4E852D #2D8538
triadic
#4E852D #2D4E85 #852D4E
tetradic
#4E852D #2D7A85 #642D85 #85382D
square
#4E852D #2D7A85 #642D85 #85382D
split-complementary
#4E852D #382D85 #852D7A
monochromatic
#182A0E #33571E #4E852D #69B33C #89CA62

Accessibility & contrast

On white

4.45
#4E852D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4E852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E852D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E852D#FFFFFF#000000##000000
##4E852D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A22
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#4C8073
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e852d;
/* rgb */ color: rgb(78, 133, 45);
/* oklch */ color: oklch(55.9% 0.134 135.7);
Tailwind
colors: {
  custom: {
    50: '#84a96a',
    500: '#4e852d',
    950: '#000000',
  },
}
SCSS
$custom: #4e852d;
$custom-light: #84a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e852d",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 97.5,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.1337,
    "h": 135.7
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#4E852D
secondary
#915DB0
accent
#4FD9A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E852D

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

Preview Lab → · Contrast checker → · Palette generator →

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