#2A8352#2A8352

#2A8352 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.4% C 0.114 H 155.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8352
RGBrgb(42, 131, 82)
HSLhsl(147, 51%, 34%)
HSVhsv(147, 68%, 51%)
CMYKcmyk(67.9%, 0%, 37.4%, 48.6%)
CIE-LABlab(48.68, -38.16, 19.02)
CIE-LCHlch(48.68, 42.64, 153.50°)
OKLaboklab(54.44% -0.1033 0.0477)
OKLCHoklch(54.44% 0.114 155.2)
XYZxyz(10.5932, 17.3329, 10.7683)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8352 #832A5B
analogous
#2F832A #2A8352 #2A837F
triadic
#2A8352 #522A83 #83522A
tetradic
#2A8352 #2A2F83 #832A5B #837F2A
square
#2A8352 #2A2F83 #832A5B #837F2A
split-complementary
#2A8352 #7F2A83 #832A2F
monochromatic
#0C2618 #1B5535 #2A8352 #39B16F #5DCB8E

Accessibility & contrast

On white

4.70
#2A8352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A8352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8352
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8352#FFFFFF#000000##FFFFFF
##2A83521.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784F
Deuteranopia (green-blind)
#777055
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8352;
/* rgb */ color: rgb(42, 131, 82);
/* oklch */ color: oklch(54.4% 0.114 155.2);
Tailwind
colors: {
  custom: {
    50: '#6fa883',
    500: '#2a8352',
    950: '#000000',
  },
}
SCSS
$custom: #2a8352;
$custom-light: #6fa883;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8352",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 146.966,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.11382,
    "h": 155.2
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#2A8352
secondary
#B15889
accent
#4D9BDB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8352

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

Preview Lab → · Contrast checker → · Palette generator →

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