#2A8743#2A8743

#2A8743 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.134 H 148.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A8743
RGBrgb(42, 135, 67)
HSLhsl(136, 53%, 35%)
HSVhsv(136, 69%, 53%)
CMYKcmyk(68.9%, 0%, 50.4%, 47.1%)
CIE-LABlab(49.77, -42.57, 28.70)
CIE-LCHlch(49.77, 51.34, 146.01°)
OKLaboklab(55.26% -0.1148 0.0698)
OKLCHoklch(55.26% 0.134 148.7)
XYZxyz(10.6311, 18.2243, 8.2665)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8743 #872A6E
analogous
#40872A #2A8743 #2A8772
triadic
#2A8743 #432A87 #87432A
tetradic
#2A8743 #2A4087 #872A6E #87722A
square
#2A8743 #2A4087 #872A6E #87722A
split-complementary
#2A8743 #722A87 #872A40
monochromatic
#0D2A15 #1B582C #2A8743 #39B65A #5ECD7C

Accessibility & contrast

On white

4.52
#2A8743 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A8743 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8743
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8743#FFFFFF#000000##000000
##2A87431.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3D
Deuteranopia (green-blind)
#7D7348
Tritanopia (blue-blind)
#018477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8743;
/* rgb */ color: rgb(42, 135, 67);
/* oklch */ color: oklch(55.3% 0.134 148.7);
Tailwind
colors: {
  custom: {
    50: '#70ab78',
    500: '#2a8743',
    950: '#000000',
  },
}
SCSS
$custom: #2a8743;
$custom-light: #70ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8743",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 67
  },
  "hsl": {
    "h": 136.129,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5526,
    "c": 0.1343,
    "h": 148.7
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#2A8743
secondary
#B35A9B
accent
#4CB5DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8743

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

Preview Lab → · Contrast checker → · Palette generator →

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