#4A802A#4A802A

#4A802A is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.131 H 135.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4A802A
RGBrgb(74, 128, 42)
HSLhsl(98, 51%, 33%)
HSVhsv(98, 67%, 50%)
CMYKcmyk(42.2%, 0%, 67.2%, 49.8%)
CIE-LABlab(48.34, -33.94, 39.76)
CIE-LCHlch(48.34, 52.27, 130.49°)
OKLaboklab(54.32% -0.0942 0.0915)
OKLCHoklch(54.32% 0.131 135.8)
XYZxyz(10.9609, 17.0608, 4.9056)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A802A #602A80
analogous
#75802A #4A802A #2A8035
triadic
#4A802A #2A4A80 #802A4A
tetradic
#4A802A #2A7580 #602A80 #80352A
square
#4A802A #2A7580 #602A80 #80352A
split-complementary
#4A802A #352A80 #802A75
monochromatic
#15240C #2F521B #4A802A #65AE39 #84C95B

Accessibility & contrast

On white

4.76
#4A802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4A802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A802A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A802A#FFFFFF#000000##FFFFFF
##4A802A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#487B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a802a;
/* rgb */ color: rgb(74, 128, 42);
/* oklch */ color: oklch(54.3% 0.131 135.8);
Tailwind
colors: {
  custom: {
    50: '#81a568',
    500: '#4a802a',
    950: '#000000',
  },
}
SCSS
$custom: #4a802a;
$custom-light: #81a568;
$custom-dark: #000000;
JSON
{
  "hex": "#4a802a",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 97.674,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54319,
    "c": 0.13133,
    "h": 135.8
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#4A802A
secondary
#8E57AF
accent
#4EDAA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A802A

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

Preview Lab → · Contrast checker → · Palette generator →

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