#2A9155#2A9155

#2A9155 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.3% C 0.131 H 153.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A9155
RGBrgb(42, 145, 85)
HSLhsl(145, 55%, 37%)
HSVhsv(145, 71%, 57%)
CMYKcmyk(71%, 0%, 41.4%, 43.1%)
CIE-LABlab(53.38, -43.32, 23.60)
CIE-LCHlch(53.38, 49.32, 151.42°)
OKLaboklab(58.33% -0.1169 0.0586)
OKLCHoklch(58.33% 0.131 153.4)
XYZxyz(12.7188, 21.3975, 12.0524)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9155 #912A66
analogous
#32912A #2A9155 #2A9189
triadic
#2A9155 #552A91 #91552A
tetradic
#2A9155 #2A3291 #912A66 #91892A
square
#2A9155 #2A3291 #912A66 #91892A
split-complementary
#2A9155 #892A91 #912A32
monochromatic
#0F321D #1C6239 #2A9155 #38C071 #63D292

Accessibility & contrast

On white

3.98
#2A9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2A9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9155
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9155#FFFFFF#000000##000000
##2A91551.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918551
Deuteranopia (green-blind)
#847C59
Tritanopia (blue-blind)
#008F82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9155;
/* rgb */ color: rgb(42, 145, 85);
/* oklch */ color: oklch(58.3% 0.131 153.4);
Tailwind
colors: {
  custom: {
    50: '#72b285',
    500: '#2a9155',
    950: '#000000',
  },
}
SCSS
$custom: #2a9155;
$custom-light: #72b285;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9155",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 145.049,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58334,
    "c": 0.13076,
    "h": 153.4
  },
  "luminance": 0.21399
}

Semantic roles & 50–950 ramp

primary
#2A9155
secondary
#B85F93
accent
#49A0DE
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9155

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

Preview Lab → · Contrast checker → · Palette generator →

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