#2A9048#2A9048

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

Color values

HEX#2A9048
RGBrgb(42, 144, 72)
HSLhsl(138, 55%, 36%)
HSVhsv(138, 71%, 56%)
CMYKcmyk(70.8%, 0%, 50%, 43.5%)
CIE-LABlab(52.85, -45.24, 29.91)
CIE-LCHlch(52.85, 54.24, 146.53°)
OKLaboklab(57.83% -0.1218 0.0727)
OKLCHoklch(57.83% 0.142 149.2)
XYZxyz(12.0969, 20.9053, 9.5272)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9048 #902A72
analogous
#3F902A #2A9048 #2A907B
triadic
#2A9048 #482A90 #90482A
tetradic
#2A9048 #2A3F90 #902A72 #907B2A
square
#2A9048 #2A3F90 #902A72 #907B2A
split-complementary
#2A9048 #7B2A90 #902A3F
monochromatic
#0E3119 #1C6130 #2A9048 #38BF60 #63D183

Accessibility & contrast

On white

4.05
#2A9048 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2A9048 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9048
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9048#FFFFFF#000000##000000
##2A90481.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918342
Deuteranopia (green-blind)
#857B4D
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a9048;
/* rgb */ color: rgb(42, 144, 72);
/* oklch */ color: oklch(57.8% 0.142 149.2);
Tailwind
colors: {
  custom: {
    50: '#72b17c',
    500: '#2a9048',
    950: '#000000',
  },
}
SCSS
$custom: #2a9048;
$custom-light: #72b17c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9048",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 72
  },
  "hsl": {
    "h": 137.647,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.14191,
    "h": 149.2
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#2A9048
secondary
#B75E9D
accent
#4AB2DE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2A9048

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

Preview Lab → · Contrast checker → · Palette generator →

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