#2A813A#2A813A

#2A813A is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.135 H 146.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A813A
RGBrgb(42, 129, 58)
HSLhsl(131, 51%, 34%)
HSVhsv(131, 67%, 51%)
CMYKcmyk(67.4%, 0%, 55%, 49.4%)
CIE-LABlab(47.62, -41.63, 30.80)
CIE-LCHlch(47.62, 51.79, 143.50°)
OKLaboklab(53.45% -0.1124 0.0739)
OKLCHoklch(53.45% 0.135 146.7)
XYZxyz(9.5682, 16.4973, 6.6822)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A813A #812A71
analogous
#45812A #2A813A #2A8165
triadic
#2A813A #3A2A81 #813A2A
tetradic
#2A813A #2A4581 #812A71 #81652A
square
#2A813A #2A4581 #812A71 #81652A
split-complementary
#2A813A #652A81 #812A45
monochromatic
#0C2510 #1B5325 #2A813A #39AF4F #5CCA70

Accessibility & contrast

On white

4.88
#2A813A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A813A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A813A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A813A#FFFFFF#000000##FFFFFF
##2A813A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837534
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#0F7E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a813a;
/* rgb */ color: rgb(42, 129, 58);
/* oklch */ color: oklch(53.4% 0.135 146.7);
Tailwind
colors: {
  custom: {
    50: '#6fa672',
    500: '#2a813a',
    950: '#000000',
  },
}
SCSS
$custom: #2a813a;
$custom-light: #6fa672;
$custom-dark: #000000;
JSON
{
  "hex": "#2a813a",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 58
  },
  "hsl": {
    "h": 131.034,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.13454,
    "h": 146.7
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#2A813A
secondary
#AF579F
accent
#4DC0DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2A813A

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

Preview Lab → · Contrast checker → · Palette generator →

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