#2A802B#2A802B

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

Color values

HEX#2A802B
RGBrgb(42, 128, 43)
HSLhsl(121, 51%, 33%)
HSVhsv(121, 67%, 50%)
CMYKcmyk(67.2%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.11, -43.21, 37.61)
CIE-LCHlch(47.11, 57.29, 138.97°)
OKLaboklab(52.97% -0.1173 0.0874)
OKLCHoklch(52.97% 0.146 143.3)
XYZxyz(9.1095, 16.1041, 4.9134)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A802B #802A7F
analogous
#54802A #2A802B #2A8056
triadic
#2A802B #2B2A80 #802B2A
tetradic
#2A802B #2A5480 #802A7F #80562A
square
#2A802B #2A5480 #802A7F #80562A
split-complementary
#2A802B #562A80 #802A54
monochromatic
#0C240C #1B521C #2A802B #39AE3A #5BC95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A802B#FFFFFF#000000##FFFFFF
##2A802B1.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)
#837421
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#167C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a802b;
/* rgb */ color: rgb(42, 128, 43);
/* oklch */ color: oklch(53.0% 0.146 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fa668',
    500: '#2a802b',
    950: '#000000',
  },
}
SCSS
$custom: #2a802b;
$custom-light: #6fa668;
$custom-dark: #000000;
JSON
{
  "hex": "#2a802b",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 120.698,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.14625,
    "h": 143.3
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#2A802B
secondary
#AF57AE
accent
#4ED8DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A802B

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

Preview Lab → · Contrast checker → · Palette generator →

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