#2A8758#2A8758

#2A8758 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.7% C 0.114 H 157.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A8758
RGBrgb(42, 135, 88)
HSLhsl(150, 53%, 35%)
HSVhsv(150, 69%, 53%)
CMYKcmyk(68.9%, 0%, 34.8%, 47.1%)
CIE-LABlab(50.13, -38.59, 17.57)
CIE-LCHlch(50.13, 42.40, 155.52°)
OKLaboklab(55.67% -0.1047 0.0443)
OKLCHoklch(55.67% 0.114 157.1)
XYZxyz(11.3792, 18.5235, 12.2063)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8758 #872A59
analogous
#2B872A #2A8758 #2A8786
triadic
#2A8758 #582A87 #87582A
tetradic
#2A8758 #2A2B87 #872A59 #87862A
square
#2A8758 #2A2B87 #872A59 #87862A
split-complementary
#2A8758 #862A87 #872A2B
monochromatic
#0D2A1B #1B583A #2A8758 #39B676 #5ECD95

Accessibility & contrast

On white

4.46
#2A8758 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A8758 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8758
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8758#FFFFFF#000000##000000
##2A87581.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8758;
/* rgb */ color: rgb(42, 135, 88);
/* oklch */ color: oklch(55.7% 0.114 157.1);
Tailwind
colors: {
  custom: {
    50: '#70ab87',
    500: '#2a8758',
    950: '#000000',
  },
}
SCSS
$custom: #2a8758;
$custom-light: #70ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8758",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 88
  },
  "hsl": {
    "h": 149.677,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.11372,
    "h": 157.1
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#2A8758
secondary
#B35A87
accent
#4C95DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A8758

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

Preview Lab → · Contrast checker → · Palette generator →

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