#4E821E#4E821E

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

Color values

HEX#4E821E
RGBrgb(78, 130, 30)
HSLhsl(91, 63%, 31%)
HSVhsv(91, 77%, 51%)
CMYKcmyk(40%, 0%, 76.9%, 49%)
CIE-LABlab(49.10, -34.34, 45.53)
CIE-LCHlch(49.10, 57.03, 127.02°)
OKLaboklab(54.97% -0.0965 0.1018)
OKLCHoklch(54.97% 0.14 133.5)
XYZxyz(11.3587, 17.6782, 4.0418)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E821E #521E82
analogous
#80821E #4E821E #1E8220
triadic
#4E821E #1E4E82 #821E4E
tetradic
#4E821E #1E8082 #521E82 #82201E
square
#4E821E #1E8082 #521E82 #82201E
split-complementary
#4E821E #201E82 #821E80
monochromatic
#121F07 #305013 #4E821E #6CB429 #8AD446

Accessibility & contrast

On white

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

On black

4.54
#4E821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E821E#FFFFFF#000000##FFFFFF
##4E821E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e821e;
/* rgb */ color: rgb(78, 130, 30);
/* oklch */ color: oklch(55.0% 0.140 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a762',
    500: '#4e821e',
    950: '#000000',
  },
}
SCSS
$custom: #4e821e;
$custom-light: #84a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4e821e",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 91.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.14028,
    "h": 133.5
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#4E821E
secondary
#8047B5
accent
#42E697
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E821E

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

Preview Lab → · Contrast checker → · Palette generator →

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