#4C802E#4C802E

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

Color values

HEX#4C802E
RGBrgb(76, 128, 46)
HSLhsl(98, 47%, 34%)
HSVhsv(98, 64%, 50%)
CMYKcmyk(40.6%, 0%, 64.1%, 49.8%)
CIE-LABlab(48.48, -32.84, 38.10)
CIE-LCHlch(48.48, 50.30, 130.76°)
OKLaboklab(54.47% -0.091 0.0884)
OKLCHoklch(54.47% 0.127 135.8)
XYZxyz(11.1925, 17.1715, 5.3089)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C802E #622E80
analogous
#75802E #4C802E #2E8039
triadic
#4C802E #2E4C80 #802E4C
tetradic
#4C802E #2E7580 #622E80 #80392E
square
#4C802E #2E7580 #622E80 #80392E
split-complementary
#4C802E #392E80 #802E75
monochromatic
#17260E #31531E #4C802E #67AD3E #87C762

Accessibility & contrast

On white

4.74
#4C802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4C802E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C802E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C802E#FFFFFF#000000##FFFFFF
##4C802E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847625
Deuteranopia (green-blind)
#7D7234
Tritanopia (blue-blind)
#4A7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c802e;
/* rgb */ color: rgb(76, 128, 46);
/* oklch */ color: oklch(54.5% 0.127 135.8);
Tailwind
colors: {
  custom: {
    50: '#82a56a',
    500: '#4c802e',
    950: '#000000',
  },
}
SCSS
$custom: #4c802e;
$custom-light: #82a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c802e",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 98.049,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.12692,
    "h": 135.8
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#4C802E
secondary
#905DAD
accent
#51D7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C802E

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

Preview Lab → · Contrast checker → · Palette generator →

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