#2A8946#2A8946

#2A8946 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.134 H 149.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A8946
RGBrgb(42, 137, 70)
HSLhsl(138, 53%, 35%)
HSVhsv(138, 69%, 54%)
CMYKcmyk(69.3%, 0%, 48.9%, 46.3%)
CIE-LABlab(50.48, -42.86, 28.00)
CIE-LCHlch(50.48, 51.19, 146.84°)
OKLaboklab(55.86% -0.1155 0.0683)
OKLCHoklch(55.86% 0.134 149.4)
XYZxyz(11.0051, 18.8246, 8.8467)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8946 #892A6D
analogous
#3E892A #2A8946 #2A8975
triadic
#2A8946 #462A89 #89462A
tetradic
#2A8946 #2A3E89 #892A6D #89752A
square
#2A8946 #2A3E89 #892A6D #89752A
split-complementary
#2A8946 #752A89 #892A3E
monochromatic
#0D2B16 #1C5A2E #2A8946 #38B85E #5FCE80

Accessibility & contrast

On white

4.41
#2A8946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2A8946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8946
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8946#FFFFFF#000000##000000
##2A89461.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#7E754B
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8946;
/* rgb */ color: rgb(42, 137, 70);
/* oklch */ color: oklch(55.9% 0.134 149.4);
Tailwind
colors: {
  custom: {
    50: '#70ac7a',
    500: '#2a8946',
    950: '#000000',
  },
}
SCSS
$custom: #2a8946;
$custom-light: #70ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8946",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 70
  },
  "hsl": {
    "h": 137.684,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.13419,
    "h": 149.4
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

primary
#2A8946
secondary
#B45B9A
accent
#4BB2DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2A8946

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

Preview Lab → · Contrast checker → · Palette generator →

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