#2A8749#2A8749

#2A8749 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.128 H 150.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8749
RGBrgb(42, 135, 73)
HSLhsl(140, 53%, 35%)
HSVhsv(140, 69%, 53%)
CMYKcmyk(68.9%, 0%, 45.9%, 47.1%)
CIE-LABlab(49.86, -41.54, 25.58)
CIE-LCHlch(49.86, 48.79, 148.37°)
OKLaboklab(55.36% -0.112 0.0629)
OKLCHoklch(55.36% 0.128 150.7)
XYZxyz(10.8206, 18.3001, 9.2641)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8749 #872A68
analogous
#3A872A #2A8749 #2A8778
triadic
#2A8749 #492A87 #87492A
tetradic
#2A8749 #2A3A87 #872A68 #87782A
square
#2A8749 #2A3A87 #872A68 #87782A
split-complementary
#2A8749 #782A87 #872A3A
monochromatic
#0D2A17 #1B5830 #2A8749 #39B662 #5ECD83

Accessibility & contrast

On white

4.51
#2A8749 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A8749 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8749
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8749#FFFFFF#000000##000000
##2A87491.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B44
Deuteranopia (green-blind)
#7C734D
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8749;
/* rgb */ color: rgb(42, 135, 73);
/* oklch */ color: oklch(55.4% 0.128 150.7);
Tailwind
colors: {
  custom: {
    50: '#70ab7c',
    500: '#2a8749',
    950: '#000000',
  },
}
SCSS
$custom: #2a8749;
$custom-light: #70ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8749",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 73
  },
  "hsl": {
    "h": 140,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.12846,
    "h": 150.7
  },
  "luminance": 0.18301
}

Semantic roles & 50–950 ramp

primary
#2A8749
secondary
#B35A95
accent
#4CACDC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8749

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

Preview Lab → · Contrast checker → · Palette generator →

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