#4C802C#4C802C

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

Color values

HEX#4C802C
RGBrgb(76, 128, 44)
HSLhsl(97, 49%, 34%)
HSVhsv(97, 66%, 50%)
CMYKcmyk(40.6%, 0%, 65.6%, 49.8%)
CIE-LABlab(48.46, -33.03, 39.01)
CIE-LCHlch(48.46, 51.12, 130.26°)
OKLaboklab(54.45% -0.0917 0.0901)
OKLCHoklch(54.45% 0.129 135.5)
XYZxyz(11.1540, 17.1561, 5.1061)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C802C #602C80
analogous
#76802C #4C802C #2C8036
triadic
#4C802C #2C4C80 #802C4C
tetradic
#4C802C #2C7680 #602C80 #80362C
square
#4C802C #2C7680 #602C80 #80362C
split-complementary
#4C802C #362C80 #802C76
monochromatic
#16250D #31521C #4C802C #67AE3C #87C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C802C#FFFFFF#000000##FFFFFF
##4C802C1.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)
#857622
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#4B7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c802c;
/* rgb */ color: rgb(76, 128, 44);
/* oklch */ color: oklch(54.4% 0.129 135.5);
Tailwind
colors: {
  custom: {
    50: '#82a569',
    500: '#4c802c',
    950: '#000000',
  },
}
SCSS
$custom: #4c802c;
$custom-light: #82a569;
$custom-dark: #000000;
JSON
{
  "hex": "#4c802c",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 97.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.1286,
    "h": 135.5
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#4C802C
secondary
#8E5AAE
accent
#4FD8A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C802C

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

Preview Lab → · Contrast checker → · Palette generator →

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