#2A802A#2A802A

#2A802A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.147 H 143.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A802A
RGBrgb(42, 128, 42)
HSLhsl(120, 51%, 33%)
HSVhsv(120, 67%, 50%)
CMYKcmyk(67.2%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.10, -43.32, 38.06)
CIE-LCHlch(47.10, 57.66, 138.70°)
OKLaboklab(52.96% -0.1176 0.0882)
OKLCHoklch(52.96% 0.147 143.1)
XYZxyz(9.0914, 16.0968, 4.8179)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A802A #802A80
analogous
#55802A #2A802A #2A8055
triadic
#2A802A #2A2A80 #802A2A
tetradic
#2A802A #2A5580 #802A80 #80552A
square
#2A802A #2A5580 #802A80 #80552A
split-complementary
#2A802A #552A80 #802A55
monochromatic
#0C240C #1B521B #2A802A #39AE39 #5BC95B

Accessibility & contrast

On white

4.98
#2A802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2A802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A802A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A802A#FFFFFF#000000##FFFFFF
##2A802A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#177C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a802a;
/* rgb */ color: rgb(42, 128, 42);
/* oklch */ color: oklch(53.0% 0.147 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa668',
    500: '#2a802a',
    950: '#000000',
  },
}
SCSS
$custom: #2a802a;
$custom-light: #6fa668;
$custom-dark: #000000;
JSON
{
  "hex": "#2a802a",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.14703,
    "h": 143.1
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#2A802A
secondary
#AF57AF
accent
#4EDADA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A802A

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

Preview Lab → · Contrast checker → · Palette generator →

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