#2A8043#2A8043

#2A8043 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.124 H 149.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8043
RGBrgb(42, 128, 67)
HSLhsl(137, 51%, 33%)
HSVhsv(137, 67%, 50%)
CMYKcmyk(67.2%, 0%, 47.7%, 49.8%)
CIE-LABlab(47.41, -39.77, 25.73)
CIE-LCHlch(47.41, 47.37, 147.10°)
OKLaboklab(53.32% -0.1073 0.063)
OKLCHoklch(53.32% 0.124 149.6)
XYZxyz(9.6864, 16.3348, 7.9516)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8043 #802A67
analogous
#3C802A #2A8043 #2A806E
triadic
#2A8043 #432A80 #80432A
tetradic
#2A8043 #2A3C80 #802A67 #806E2A
square
#2A8043 #2A3C80 #802A67 #806E2A
split-complementary
#2A8043 #6E2A80 #802A3C
monochromatic
#0C2413 #1B522B #2A8043 #39AE5B #5BC97B

Accessibility & contrast

On white

4.92
#2A8043 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2A8043 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8043
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8043#FFFFFF#000000##FFFFFF
##2A80431.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753E
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#087E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8043;
/* rgb */ color: rgb(42, 128, 67);
/* oklch */ color: oklch(53.3% 0.124 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ea678',
    500: '#2a8043',
    950: '#000000',
  },
}
SCSS
$custom: #2a8043;
$custom-light: #6ea678;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8043",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 137.442,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.12442,
    "h": 149.6
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

primary
#2A8043
secondary
#AF5795
accent
#4EB1DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A8043

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

Preview Lab → · Contrast checker → · Palette generator →

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