#4E821D#4E821D

#4E821D is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.141 H 133.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4E821D
RGBrgb(78, 130, 29)
HSLhsl(91, 64%, 31%)
HSVhsv(91, 78%, 51%)
CMYKcmyk(40%, 0%, 77.7%, 49%)
CIE-LABlab(49.10, -34.40, 45.89)
CIE-LCHlch(49.10, 57.35, 126.86°)
OKLaboklab(54.97% -0.0967 0.1024)
OKLCHoklch(54.97% 0.141 133.4)
XYZxyz(11.3461, 17.6731, 3.9756)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E821D #511D82
analogous
#80821D #4E821D #1D821E
triadic
#4E821D #1D4E82 #821D4E
tetradic
#4E821D #1D8082 #511D82 #821E1D
square
#4E821D #1D8082 #511D82 #821E1D
split-complementary
#4E821D #1E1D82 #821D80
monochromatic
#121E07 #305012 #4E821D #6CB428 #8BD544

Accessibility & contrast

On white

4.63
#4E821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4E821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E821D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E821D#FFFFFF#000000##FFFFFF
##4E821D1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#4E7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e821d;
/* rgb */ color: rgb(78, 130, 29);
/* oklch */ color: oklch(55.0% 0.141 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a761',
    500: '#4e821d',
    950: '#000000',
  },
}
SCSS
$custom: #4e821d;
$custom-light: #84a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4e821d",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 90.891,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.14086,
    "h": 133.4
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

primary
#4E821D
secondary
#7F46B5
accent
#41E796
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E821D

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

Preview Lab → · Contrast checker → · Palette generator →

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