#4E841C#4E841C

#4E841C is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.144 H 133.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4E841C
RGBrgb(78, 132, 28)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 79%, 52%)
CMYKcmyk(40.9%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.74, -35.35, 46.86)
CIE-LCHlch(49.74, 58.70, 127.03°)
OKLaboklab(55.49% -0.0994 0.1043)
OKLCHoklch(55.49% 0.144 133.6)
XYZxyz(11.6026, 18.2055, 4.0010)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E841C #521C84
analogous
#82841C #4E841C #1C841E
triadic
#4E841C #1C4E84 #841C4E
tetradic
#4E841C #1C8284 #521C84 #841E1C
square
#4E841C #1C8284 #521C84 #841E1C
split-complementary
#4E841C #1E1C84 #841C82
monochromatic
#121F07 #305211 #4E841C #6CB627 #8AD743

Accessibility & contrast

On white

4.52
#4E841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4E841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E841C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E841C#FFFFFF#000000##000000
##4E841C1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#4E7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e841c;
/* rgb */ color: rgb(78, 132, 28);
/* oklch */ color: oklch(55.5% 0.144 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a861',
    500: '#4e841c',
    950: '#000000',
  },
}
SCSS
$custom: #4e841c;
$custom-light: #85a861;
$custom-dark: #000000;
JSON
{
  "hex": "#4e841c",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 91.154,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.14404,
    "h": 133.6
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#4E841C
secondary
#8045B7
accent
#40E897
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E841C

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

Preview Lab → · Contrast checker → · Palette generator →

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