#2A802D#2A802D

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

Color values

HEX#2A802D
RGBrgb(42, 128, 45)
HSLhsl(122, 51%, 33%)
HSVhsv(122, 67%, 50%)
CMYKcmyk(67.2%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.13, -42.98, 36.70)
CIE-LCHlch(47.13, 56.52, 139.51°)
OKLaboklab(52.99% -0.1166 0.0856)
OKLCHoklch(52.99% 0.145 143.7)
XYZxyz(9.1471, 16.1191, 5.1114)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A802D #802A7D
analogous
#52802A #2A802D #2A8058
triadic
#2A802D #2D2A80 #802D2A
tetradic
#2A802D #2A5280 #802A7D #80582A
square
#2A802D #2A5280 #802A7D #80582A
split-complementary
#2A802D #582A80 #802A52
monochromatic
#0C240D #1B521D #2A802D #39AE3D #5BC95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A802D#FFFFFF#000000##FFFFFF
##2A802D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#167C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a802d;
/* rgb */ color: rgb(42, 128, 45);
/* oklch */ color: oklch(53.0% 0.145 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fa669',
    500: '#2a802d',
    950: '#000000',
  },
}
SCSS
$custom: #2a802d;
$custom-light: #6fa669;
$custom-dark: #000000;
JSON
{
  "hex": "#2a802d",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 122.093,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.14464,
    "h": 143.7
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#2A802D
secondary
#AF57AC
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A802D

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

Preview Lab → · Contrast checker → · Palette generator →

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