#2A8F4F#2A8F4F

#2A8F4F is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.134 H 151.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A8F4F
RGBrgb(42, 143, 79)
HSLhsl(142, 55%, 36%)
HSVhsv(142, 71%, 56%)
CMYKcmyk(70.6%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.62, -43.64, 25.88)
CIE-LCHlch(52.62, 50.74, 149.34°)
OKLaboklab(57.67% -0.1176 0.0638)
OKLCHoklch(57.67% 0.134 151.5)
XYZxyz(12.1876, 20.7003, 10.7489)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F4F #8F2A6A
analogous
#388F2A #2A8F4F #2A8F82
triadic
#2A8F4F #4F2A8F #8F4F2A
tetradic
#2A8F4F #2A388F #8F2A6A #8F822A
square
#2A8F4F #2A388F #8F2A6A #8F822A
split-complementary
#2A8F4F #822A8F #8F2A38
monochromatic
#0E301B #1C6035 #2A8F4F #38BE69 #62D18B

Accessibility & contrast

On white

4.09
#2A8F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2A8F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F4F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F4F#FFFFFF#000000##000000
##2A8F4F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a8f4f;
/* rgb */ color: rgb(42, 143, 79);
/* oklch */ color: oklch(57.7% 0.134 151.5);
Tailwind
colors: {
  custom: {
    50: '#71b181',
    500: '#2a8f4f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f4f;
$custom-light: #71b181;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f4f",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 141.98,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.13381,
    "h": 151.5
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#2A8F4F
secondary
#B75E96
accent
#4AA8DE
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A8F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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