#2A9852#2A9852

#2A9852 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.2% C 0.143 H 151.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2A9852
RGBrgb(42, 152, 82)
HSLhsl(142, 57%, 38%)
HSVhsv(142, 72%, 60%)
CMYKcmyk(72.4%, 0%, 46.1%, 40.4%)
CIE-LABlab(55.64, -46.61, 28.15)
CIE-LCHlch(55.64, 54.45, 148.87°)
OKLaboklab(60.18% -0.1255 0.0692)
OKLCHoklch(60.18% 0.143 151.1)
XYZxyz(13.7049, 23.5564, 11.8056)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9852 #982A70
analogous
#39982A #2A9852 #2A9889
triadic
#2A9852 #522A98 #98522A
tetradic
#2A9852 #2A3998 #982A70 #98892A
square
#2A9852 #2A3998 #982A70 #98892A
split-complementary
#2A9852 #892A98 #982A39
monochromatic
#10381E #1D6838 #2A9852 #37C86C #67D58F

Accessibility & contrast

On white

3.68
#2A9852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#2A9852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9852
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9852#FFFFFF#000000##000000
##2A98521.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B4D
Deuteranopia (green-blind)
#8B8257
Tritanopia (blue-blind)
#009687
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9852;
/* rgb */ color: rgb(42, 152, 82);
/* oklch */ color: oklch(60.2% 0.143 151.1);
Tailwind
colors: {
  custom: {
    50: '#73b783',
    500: '#2a9852',
    950: '#000000',
  },
}
SCSS
$custom: #2a9852;
$custom-light: #73b783;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9852",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 82
  },
  "hsl": {
    "h": 141.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.14327,
    "h": 151.1
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#2A9852
secondary
#BB629B
accent
#48A9E0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2A9852

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

Preview Lab → · Contrast checker → · Palette generator →

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