#2A9045#2A9045

#2A9045 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.145 H 148.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A9045
RGBrgb(42, 144, 69)
HSLhsl(136, 55%, 36%)
HSVhsv(136, 71%, 56%)
CMYKcmyk(70.8%, 0%, 52.1%, 43.5%)
CIE-LABlab(52.80, -45.73, 31.43)
CIE-LCHlch(52.80, 55.48, 145.50°)
OKLaboklab(57.78% -0.1232 0.076)
OKLCHoklch(57.78% 0.145 148.3)
XYZxyz(12.0014, 20.8671, 9.0243)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9045 #902A75
analogous
#42902A #2A9045 #2A9078
triadic
#2A9045 #452A90 #90452A
tetradic
#2A9045 #2A4290 #902A75 #90782A
square
#2A9045 #2A4290 #902A75 #90782A
split-complementary
#2A9045 #782A90 #902A42
monochromatic
#0E3118 #1C612E #2A9045 #38BF5C #63D180

Accessibility & contrast

On white

4.06
#2A9045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2A9045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9045
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9045#FFFFFF#000000##000000
##2A90451.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833F
Deuteranopia (green-blind)
#857B4A
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a9045;
/* rgb */ color: rgb(42, 144, 69);
/* oklch */ color: oklch(57.8% 0.145 148.3);
Tailwind
colors: {
  custom: {
    50: '#72b17a',
    500: '#2a9045',
    950: '#000000',
  },
}
SCSS
$custom: #2a9045;
$custom-light: #72b17a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9045",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 69
  },
  "hsl": {
    "h": 135.882,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.14474,
    "h": 148.3
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#2A9045
secondary
#B75EA0
accent
#4AB7DE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9045

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

Preview Lab → · Contrast checker → · Palette generator →

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