#2A8F2D#2A8F2D

#2A8F2D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.164 H 143.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2A8F2D
RGBrgb(42, 143, 45)
HSLhsl(122, 55%, 36%)
HSVhsv(122, 71%, 56%)
CMYKcmyk(70.6%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.20, -48.48, 42.29)
CIE-LCHlch(52.20, 64.33, 138.91°)
OKLaboklab(57.19% -0.1315 0.0975)
OKLCHoklch(57.19% 0.164 143.5)
XYZxyz(11.2503, 20.3254, 5.8124)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F2D #8F2A8C
analogous
#5A8F2A #2A8F2D #2A8F60
triadic
#2A8F2D #2D2A8F #8F2D2A
tetradic
#2A8F2D #2A5A8F #8F2A8C #8F602A
square
#2A8F2D #2A5A8F #8F2A8C #8F602A
split-complementary
#2A8F2D #602A8F #8F2A5A
monochromatic
#0E300F #1C601E #2A8F2D #38BE3C #62D166

Accessibility & contrast

On white

4.15
#2A8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2A8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F2D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F2D#FFFFFF#000000##000000
##2A8F2D1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#0B8B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f2d;
/* rgb */ color: rgb(42, 143, 45);
/* oklch */ color: oklch(57.2% 0.164 143.5);
Tailwind
colors: {
  custom: {
    50: '#73b16b',
    500: '#2a8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f2d;
$custom-light: #73b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f2d",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 121.782,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.16368,
    "h": 143.5
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#2A8F2D
secondary
#B75EB4
accent
#4ADADE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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