#2A8142#2A8142

#2A8142 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.127 H 149.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A8142
RGBrgb(42, 129, 66)
HSLhsl(137, 51%, 34%)
HSVhsv(137, 67%, 51%)
CMYKcmyk(67.4%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.73, -40.35, 26.68)
CIE-LCHlch(47.73, 48.38, 146.52°)
OKLaboklab(53.58% -0.1088 0.0651)
OKLCHoklch(53.58% 0.127 149.1)
XYZxyz(9.7877, 16.5851, 7.8386)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8142 #812A69
analogous
#3D812A #2A8142 #2A816D
triadic
#2A8142 #422A81 #81422A
tetradic
#2A8142 #2A3D81 #812A69 #816D2A
square
#2A8142 #2A3D81 #812A69 #816D2A
split-complementary
#2A8142 #6D2A81 #812A3D
monochromatic
#0C2513 #1B532A #2A8142 #39AF5A #5CCA7A

Accessibility & contrast

On white

4.86
#2A8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2A8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8142
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8142#FFFFFF#000000##FFFFFF
##2A81421.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#087F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a8142;
/* rgb */ color: rgb(42, 129, 66);
/* oklch */ color: oklch(53.6% 0.127 149.1);
Tailwind
colors: {
  custom: {
    50: '#6fa677',
    500: '#2a8142',
    950: '#000000',
  },
}
SCSS
$custom: #2a8142;
$custom-light: #6fa677;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8142",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 136.552,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.12684,
    "h": 149.1
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#2A8142
secondary
#AF5797
accent
#4DB3DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A8142

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

Preview Lab → · Contrast checker → · Palette generator →

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