#2A9052#2A9052

#2A9052 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.132 H 152.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A9052
RGBrgb(42, 144, 82)
HSLhsl(144, 55%, 36%)
HSVhsv(144, 71%, 56%)
CMYKcmyk(70.8%, 0%, 43.1%, 43.5%)
CIE-LABlab(53.00, -43.49, 24.74)
CIE-LCHlch(53.00, 50.03, 150.37°)
OKLaboklab(58% -0.1172 0.0612)
OKLCHoklch(58% 0.132 152.4)
XYZxyz(12.4500, 21.0466, 11.3873)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9052 #902A68
analogous
#35902A #2A9052 #2A9085
triadic
#2A9052 #522A90 #90522A
tetradic
#2A9052 #2A3590 #902A68 #90852A
square
#2A9052 #2A3590 #902A68 #90852A
split-complementary
#2A9052 #852A90 #902A35
monochromatic
#0E311C #1C6137 #2A9052 #38BF6D #63D18E

Accessibility & contrast

On white

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

On black

5.21
#2A9052 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9052
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9052#FFFFFF#000000##000000
##2A90521.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844E
Deuteranopia (green-blind)
#847B56
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9052;
/* rgb */ color: rgb(42, 144, 82);
/* oklch */ color: oklch(58.0% 0.132 152.4);
Tailwind
colors: {
  custom: {
    50: '#72b183',
    500: '#2a9052',
    950: '#000000',
  },
}
SCSS
$custom: #2a9052;
$custom-light: #72b183;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9052",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 82
  },
  "hsl": {
    "h": 143.529,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.13228,
    "h": 152.4
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#2A9052
secondary
#B75E95
accent
#4AA4DE
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A9052

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

Preview Lab → · Contrast checker → · Palette generator →

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