#2A9151#2A9151

#2A9151 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.3% C 0.135 H 151.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A9151
RGBrgb(42, 145, 81)
HSLhsl(143, 55%, 37%)
HSVhsv(143, 71%, 57%)
CMYKcmyk(71%, 0%, 44.1%, 43.1%)
CIE-LABlab(53.31, -44.07, 25.69)
CIE-LCHlch(53.31, 51.01, 149.76°)
OKLaboklab(58.26% -0.1188 0.0634)
OKLCHoklch(58.26% 0.135 151.9)
XYZxyz(12.5644, 21.3357, 11.2390)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9151 #912A6A
analogous
#37912A #2A9151 #2A9185
triadic
#2A9151 #512A91 #91512A
tetradic
#2A9151 #2A3791 #912A6A #91852A
square
#2A9151 #2A3791 #912A6A #91852A
split-complementary
#2A9151 #852A91 #912A37
monochromatic
#0F321C #1C6236 #2A9151 #38C06C #63D28D

Accessibility & contrast

On white

3.99
#2A9151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2A9151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9151
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9151#FFFFFF#000000##000000
##2A91511.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854C
Deuteranopia (green-blind)
#857C55
Tritanopia (blue-blind)
#008F81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9151;
/* rgb */ color: rgb(42, 145, 81);
/* oklch */ color: oklch(58.3% 0.135 151.9);
Tailwind
colors: {
  custom: {
    50: '#72b282',
    500: '#2a9151',
    950: '#000000',
  },
}
SCSS
$custom: #2a9151;
$custom-light: #72b282;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9151",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 81
  },
  "hsl": {
    "h": 142.718,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.13464,
    "h": 151.9
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#2A9151
secondary
#B85F96
accent
#49A6DE
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9151

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

Preview Lab → · Contrast checker → · Palette generator →

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