#4E802C#4E802C

#4E802C is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.127 H 134.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E802C
RGBrgb(78, 128, 44)
HSLhsl(96, 49%, 34%)
HSVhsv(96, 66%, 50%)
CMYKcmyk(39.1%, 0%, 65.6%, 49.8%)
CIE-LABlab(48.56, -32.31, 39.15)
CIE-LCHlch(48.56, 50.76, 129.53°)
OKLaboklab(54.56% -0.0899 0.0904)
OKLCHoklch(54.56% 0.127 134.8)
XYZxyz(11.3154, 17.2394, 5.1137)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E802C #5E2C80
analogous
#78802C #4E802C #2C8034
triadic
#4E802C #2C4E80 #802C4E
tetradic
#4E802C #2C7880 #5E2C80 #80342C
square
#4E802C #2C7880 #5E2C80 #80342C
split-complementary
#4E802C #342C80 #802C78
monochromatic
#16250D #32521C #4E802C #6AAE3C #89C85F

Accessibility & contrast

On white

4.72
#4E802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4E802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E802C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E802C#FFFFFF#000000##FFFFFF
##4E802C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857622
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e802c;
/* rgb */ color: rgb(78, 128, 44);
/* oklch */ color: oklch(54.6% 0.127 134.8);
Tailwind
colors: {
  custom: {
    50: '#83a569',
    500: '#4e802c',
    950: '#000000',
  },
}
SCSS
$custom: #4e802c;
$custom-light: #83a569;
$custom-dark: #000000;
JSON
{
  "hex": "#4e802c",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 95.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.12748,
    "h": 134.8
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#4E802C
secondary
#8C5AAE
accent
#4FD8A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E802C

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

Preview Lab → · Contrast checker → · Palette generator →

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