#2A8F2C#2A8F2C

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

Color values

HEX#2A8F2C
RGBrgb(42, 143, 44)
HSLhsl(121, 55%, 36%)
HSVhsv(121, 71%, 56%)
CMYKcmyk(70.6%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.19, -48.58, 42.71)
CIE-LCHlch(52.19, 64.69, 138.68°)
OKLaboklab(57.18% -0.1318 0.0982)
OKLCHoklch(57.18% 0.164 143.3)
XYZxyz(11.2312, 20.3178, 5.7122)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F2C #8F2A8D
analogous
#5B8F2A #2A8F2C #2A8F5F
triadic
#2A8F2C #2C2A8F #8F2C2A
tetradic
#2A8F2C #2A5B8F #8F2A8D #8F5F2A
square
#2A8F2C #2A5B8F #8F2A8D #8F5F2A
split-complementary
#2A8F2C #5F2A8F #8F2A5B
monochromatic
#0E300F #1C601D #2A8F2C #38BE3B #62D165

Accessibility & contrast

On white

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

On black

5.06
#2A8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F2C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F2C#FFFFFF#000000##000000
##2A8F2C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#0B8B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f2c;
/* rgb */ color: rgb(42, 143, 44);
/* oklch */ color: oklch(57.2% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#73b16a',
    500: '#2a8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f2c;
$custom-light: #73b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f2c",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 121.188,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.16439,
    "h": 143.3
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#2A8F2C
secondary
#B75EB5
accent
#4ADBDE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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