#2A8D2C#2A8D2C

#2A8D2C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.162 H 143.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8D2C
RGBrgb(42, 141, 44)
HSLhsl(121, 54%, 36%)
HSVhsv(121, 70%, 55%)
CMYKcmyk(70.2%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.52, -47.87, 41.98)
CIE-LCHlch(51.52, 63.67, 138.75°)
OKLaboklab(56.63% -0.1299 0.0967)
OKLCHoklch(56.63% 0.162 143.3)
XYZxyz(10.9337, 19.7227, 5.6130)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D2C #8D2A8B
analogous
#598D2A #2A8D2C #2A8D5D
triadic
#2A8D2C #2C2A8D #8D2C2A
tetradic
#2A8D2C #2A598D #8D2A8B #8D5D2A
square
#2A8D2C #2A598D #8D2A8B #8D5D2A
split-complementary
#2A8D2C #5D2A8D #8D2A59
monochromatic
#0E2F0F #1C5E1D #2A8D2C #38BC3B #61D064

Accessibility & contrast

On white

4.25
#2A8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2A8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D2C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D2C#FFFFFF#000000##000000
##2A8D2C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#0D8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d2c;
/* rgb */ color: rgb(42, 141, 44);
/* oklch */ color: oklch(56.6% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#72af6a',
    500: '#2a8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d2c;
$custom-light: #72af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d2c",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 121.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.16193,
    "h": 143.3
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#2A8D2C
secondary
#B65DB4
accent
#4ADADD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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