#2A802E#2A802E

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

Color values

HEX#2A802E
RGBrgb(42, 128, 46)
HSLhsl(123, 51%, 33%)
HSVhsv(123, 67%, 50%)
CMYKcmyk(67.2%, 0%, 64.1%, 49.8%)
CIE-LABlab(47.14, -42.86, 36.24)
CIE-LCHlch(47.14, 56.13, 139.79°)
OKLaboklab(53.01% -0.1162 0.0847)
OKLCHoklch(53.01% 0.144 143.9)
XYZxyz(9.1666, 16.1269, 5.2140)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A802E #802A7C
analogous
#51802A #2A802E #2A8059
triadic
#2A802E #2E2A80 #802E2A
tetradic
#2A802E #2A5180 #802A7C #80592A
square
#2A802E #2A5180 #802A7C #80592A
split-complementary
#2A802E #592A80 #802A51
monochromatic
#0C240D #1B521D #2A802E #39AE3F #5BC960

Accessibility & contrast

On white

4.97
#2A802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2A802E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A802E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A802E#FFFFFF#000000##FFFFFF
##2A802E1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#157C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a802e;
/* rgb */ color: rgb(42, 128, 46);
/* oklch */ color: oklch(53.0% 0.144 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa66a',
    500: '#2a802e',
    950: '#000000',
  },
}
SCSS
$custom: #2a802e;
$custom-light: #6fa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a802e",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 122.791,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.14382,
    "h": 143.9
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#2A802E
secondary
#AF57AB
accent
#4ED4DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A802E

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

Preview Lab → · Contrast checker → · Palette generator →

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