#4E802B#4E802B

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

Color values

HEX#4E802B
RGBrgb(78, 128, 43)
HSLhsl(95, 50%, 34%)
HSVhsv(95, 66%, 50%)
CMYKcmyk(39.1%, 0%, 66.4%, 49.8%)
CIE-LABlab(48.55, -32.40, 39.60)
CIE-LCHlch(48.55, 51.17, 129.29°)
OKLaboklab(54.55% -0.0902 0.0912)
OKLCHoklch(54.55% 0.128 134.7)
XYZxyz(11.2969, 17.2319, 5.0159)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E802B #5D2B80
analogous
#78802B #4E802B #2B8032
triadic
#4E802B #2B4E80 #802B4E
tetradic
#4E802B #2B7880 #5D2B80 #80322B
square
#4E802B #2B7880 #5D2B80 #80322B
split-complementary
#4E802B #322B80 #802B78
monochromatic
#16240C #32521C #4E802B #6AAE3A #89C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E802B#FFFFFF#000000##FFFFFF
##4E802B1.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)
#857620
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e802b;
/* rgb */ color: rgb(78, 128, 43);
/* oklch */ color: oklch(54.6% 0.128 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a568',
    500: '#4e802b',
    950: '#000000',
  },
}
SCSS
$custom: #4e802b;
$custom-light: #83a568;
$custom-dark: #000000;
JSON
{
  "hex": "#4e802b",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 95.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.12831,
    "h": 134.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#4E802B
secondary
#8B58AE
accent
#4FD9A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E802B

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

Preview Lab → · Contrast checker → · Palette generator →

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