#2A8D52#2A8D52

#2A8D52 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.128 H 153.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A8D52
RGBrgb(42, 141, 82)
HSLhsl(144, 54%, 36%)
HSVhsv(144, 70%, 55%)
CMYKcmyk(70.2%, 0%, 41.8%, 44.7%)
CIE-LABlab(52.01, -42.29, 23.44)
CIE-LCHlch(52.01, 48.35, 151.00°)
OKLaboklab(57.18% -0.1141 0.0582)
OKLCHoklch(57.18% 0.128 153)
XYZxyz(12.0017, 20.1499, 11.2378)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D52 #8D2A65
analogous
#348D2A #2A8D52 #2A8D83
triadic
#2A8D52 #522A8D #8D522A
tetradic
#2A8D52 #2A348D #8D2A65 #8D832A
square
#2A8D52 #2A348D #8D2A65 #8D832A
split-complementary
#2A8D52 #832A8D #8D2A34
monochromatic
#0E2F1B #1C5E37 #2A8D52 #38BC6D #61D08E

Accessibility & contrast

On white

4.17
#2A8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2A8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D52
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D52#FFFFFF#000000##000000
##2A8D521.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8d52;
/* rgb */ color: rgb(42, 141, 82);
/* oklch */ color: oklch(57.2% 0.128 153.0);
Tailwind
colors: {
  custom: {
    50: '#71af83',
    500: '#2a8d52',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d52;
$custom-light: #71af83;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d52",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 144.242,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.12808,
    "h": 153
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#2A8D52
secondary
#B65D92
accent
#4AA2DD
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2A8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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