#2A8757#2A8757

#2A8757 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.6% C 0.115 H 156.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8757
RGBrgb(42, 135, 87)
HSLhsl(149, 53%, 35%)
HSVhsv(149, 69%, 53%)
CMYKcmyk(68.9%, 0%, 35.6%, 47.1%)
CIE-LABlab(50.11, -38.80, 18.11)
CIE-LCHlch(50.11, 42.82, 154.98°)
OKLaboklab(55.65% -0.1052 0.0456)
OKLCHoklch(55.65% 0.115 156.6)
XYZxyz(11.3381, 18.5071, 11.9897)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8757 #872A5A
analogous
#2C872A #2A8757 #2A8785
triadic
#2A8757 #572A87 #87572A
tetradic
#2A8757 #2A2C87 #872A5A #87852A
square
#2A8757 #2A2C87 #872A5A #87852A
split-complementary
#2A8757 #852A87 #872A2C
monochromatic
#0D2A1B #1B5839 #2A8757 #39B675 #5ECD94

Accessibility & contrast

On white

4.47
#2A8757 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A8757 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8757
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8757#FFFFFF#000000##000000
##2A87571.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C54
Deuteranopia (green-blind)
#7A745A
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8757;
/* rgb */ color: rgb(42, 135, 87);
/* oklch */ color: oklch(55.6% 0.115 156.6);
Tailwind
colors: {
  custom: {
    50: '#70ab86',
    500: '#2a8757',
    950: '#000000',
  },
}
SCSS
$custom: #2a8757;
$custom-light: #70ab86;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8757",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 87
  },
  "hsl": {
    "h": 149.032,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.11468,
    "h": 156.6
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#2A8757
secondary
#B35A88
accent
#4C96DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8757

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

Preview Lab → · Contrast checker → · Palette generator →

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