#2A9451#2A9451

#2A9451 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.1% C 0.139 H 151.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A9451
RGBrgb(42, 148, 81)
HSLhsl(142, 56%, 37%)
HSVhsv(142, 72%, 58%)
CMYKcmyk(71.6%, 0%, 45.3%, 42%)
CIE-LABlab(54.31, -45.24, 26.97)
CIE-LCHlch(54.31, 52.67, 149.20°)
OKLaboklab(59.08% -0.1219 0.0664)
OKLCHoklch(59.08% 0.139 151.4)
XYZxyz(13.0289, 22.2647, 11.3939)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9451 #942A6D
analogous
#38942A #2A9451 #2A9486
triadic
#2A9451 #512A94 #94512A
tetradic
#2A9451 #2A3894 #942A6D #94862A
square
#2A9451 #2A3894 #942A6D #94862A
split-complementary
#2A9451 #862A94 #942A38
monochromatic
#0F351D #1C6437 #2A9451 #38C46B #65D38E

Accessibility & contrast

On white

3.85
#2A9451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2A9451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9451
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9451#FFFFFF#000000##000000
##2A94511.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95874C
Deuteranopia (green-blind)
#887E56
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9451;
/* rgb */ color: rgb(42, 148, 81);
/* oklch */ color: oklch(59.1% 0.139 151.4);
Tailwind
colors: {
  custom: {
    50: '#72b483',
    500: '#2a9451',
    950: '#000000',
  },
}
SCSS
$custom: #2a9451;
$custom-light: #72b483;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9451",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 81
  },
  "hsl": {
    "h": 142.075,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.13878,
    "h": 151.4
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#2A9451
secondary
#B96099
accent
#49A8DF
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9451

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

Preview Lab → · Contrast checker → · Palette generator →

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