#2A9054#2A9054

#2A9054 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.0% C 0.130 H 153.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2A9054
RGBrgb(42, 144, 84)
HSLhsl(145, 55%, 36%)
HSVhsv(145, 71%, 56%)
CMYKcmyk(70.8%, 0%, 41.7%, 43.5%)
CIE-LABlab(53.03, -43.11, 23.69)
CIE-LCHlch(53.03, 49.19, 151.21°)
OKLaboklab(58.04% -0.1163 0.0588)
OKLCHoklch(58.04% 0.13 153.2)
XYZxyz(12.5272, 21.0775, 11.7939)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9054 #902A66
analogous
#33902A #2A9054 #2A9087
triadic
#2A9054 #542A90 #90542A
tetradic
#2A9054 #2A3390 #902A66 #90872A
square
#2A9054 #2A3390 #902A66 #90872A
split-complementary
#2A9054 #872A90 #902A33
monochromatic
#0E311D #1C6138 #2A9054 #38BF70 #63D190

Accessibility & contrast

On white

4.03
#2A9054 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#2A9054 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9054
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9054#FFFFFF#000000##000000
##2A90541.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908450
Deuteranopia (green-blind)
#837B58
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9054;
/* rgb */ color: rgb(42, 144, 84);
/* oklch */ color: oklch(58.0% 0.130 153.2);
Tailwind
colors: {
  custom: {
    50: '#71b185',
    500: '#2a9054',
    950: '#000000',
  },
}
SCSS
$custom: #2a9054;
$custom-light: #71b185;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9054",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 84
  },
  "hsl": {
    "h": 144.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.13033,
    "h": 153.2
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#2A9054
secondary
#B75E93
accent
#4AA1DE
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9054

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

Preview Lab → · Contrast checker → · Palette generator →

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