#2A8E2F#2A8E2F

#2A8E2F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.161 H 143.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2A8E2F
RGBrgb(42, 142, 47)
HSLhsl(123, 54%, 36%)
HSVhsv(123, 70%, 56%)
CMYKcmyk(70.4%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.88, -47.91, 41.06)
CIE-LCHlch(51.88, 63.10, 139.40°)
OKLaboklab(56.94% -0.1298 0.0951)
OKLCHoklch(56.94% 0.161 143.8)
XYZxyz(11.1402, 20.0423, 5.9702)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E2F #8E2A89
analogous
#578E2A #2A8E2F #2A8E61
triadic
#2A8E2F #2F2A8E #8E2F2A
tetradic
#2A8E2F #2A578E #8E2A89 #8E612A
square
#2A8E2F #2A578E #8E2A89 #8E612A
split-complementary
#2A8E2F #612A8E #8E2A57
monochromatic
#0E3010 #1C5F1F #2A8E2F #38BD3F #62D167

Accessibility & contrast

On white

4.19
#2A8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2A8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E2F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E2F#FFFFFF#000000##000000
##2A8E2F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#0B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e2f;
/* rgb */ color: rgb(42, 142, 47);
/* oklch */ color: oklch(56.9% 0.161 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b06c',
    500: '#2a8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e2f;
$custom-light: #72b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e2f",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 123,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.16095,
    "h": 143.8
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#2A8E2F
secondary
#B65DB2
accent
#4AD6DE
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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