#4E821F#4E821F

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

Color values

HEX#4E821F
RGBrgb(78, 130, 31)
HSLhsl(92, 61%, 32%)
HSVhsv(92, 76%, 51%)
CMYKcmyk(40%, 0%, 76.2%, 49%)
CIE-LABlab(49.11, -34.27, 45.17)
CIE-LCHlch(49.11, 56.70, 127.19°)
OKLaboklab(54.98% -0.0962 0.1012)
OKLCHoklch(54.98% 0.14 133.6)
XYZxyz(11.3717, 17.6833, 4.1101)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E821F #531F82
analogous
#80821F #4E821F #1F8221
triadic
#4E821F #1F4E82 #821F4E
tetradic
#4E821F #1F8082 #531F82 #82211F
square
#4E821F #1F8082 #531F82 #82211F
split-complementary
#4E821F #211F82 #821F80
monochromatic
#131F07 #305113 #4E821F #6CB32B #8AD348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E821F#FFFFFF#000000##FFFFFF
##4E821F1.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)
#87770B
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#4E7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e821f;
/* rgb */ color: rgb(78, 130, 31);
/* oklch */ color: oklch(55.0% 0.140 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a762',
    500: '#4e821f',
    950: '#000000',
  },
}
SCSS
$custom: #4e821f;
$custom-light: #84a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4e821f",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 91.515,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.13966,
    "h": 133.6
  },
  "luminance": 0.17684
}

Semantic roles & 50–950 ramp

primary
#4E821F
secondary
#8148B5
accent
#43E598
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E821F

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

Preview Lab → · Contrast checker → · Palette generator →

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