#2A8F2F#2A8F2F

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

Color values

HEX#2A8F2F
RGBrgb(42, 143, 47)
HSLhsl(123, 55%, 36%)
HSVhsv(123, 71%, 56%)
CMYKcmyk(70.6%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.22, -48.27, 41.43)
CIE-LCHlch(52.22, 63.61, 139.36°)
OKLaboklab(57.21% -0.1308 0.0959)
OKLCHoklch(57.21% 0.162 143.8)
XYZxyz(11.2897, 20.3412, 6.0200)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F2F #8F2A8A
analogous
#588F2A #2A8F2F #2A8F62
triadic
#2A8F2F #2F2A8F #8F2F2A
tetradic
#2A8F2F #2A588F #8F2A8A #8F622A
square
#2A8F2F #2A588F #8F2A8A #8F622A
split-complementary
#2A8F2F #622A8F #8F2A58
monochromatic
#0E3010 #1C601F #2A8F2F #38BE3F #62D168

Accessibility & contrast

On white

4.14
#2A8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8F2F#FFFFFF#000000##000000
##2A8F2F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#0A8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a8f2f;
/* rgb */ color: rgb(42, 143, 47);
/* oklch */ color: oklch(57.2% 0.162 143.8);
Tailwind
colors: {
  custom: {
    50: '#73b16c',
    500: '#2a8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f2f;
$custom-light: #73b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f2f",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 122.97,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.1622,
    "h": 143.8
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#2A8F2F
secondary
#B75EB3
accent
#4AD7DE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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