#2A8A2F#2A8A2F

#2A8A2F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.156 H 143.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A8A2F
RGBrgb(42, 138, 47)
HSLhsl(123, 53%, 35%)
HSVhsv(123, 70%, 54%)
CMYKcmyk(69.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.54, -46.47, 39.58)
CIE-LCHlch(50.54, 61.04, 139.58°)
OKLaboklab(55.82% -0.1259 0.092)
OKLCHoklch(55.82% 0.156 143.9)
XYZxyz(10.5558, 18.8733, 5.7754)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A2F #8A2A85
analogous
#558A2A #2A8A2F #2A8A5F
triadic
#2A8A2F #2F2A8A #8A2F2A
tetradic
#2A8A2F #2A558A #8A2A85 #8A5F2A
square
#2A8A2F #2A558A #8A2A85 #8A5F2A
split-complementary
#2A8A2F #5F2A8A #8A2A55
monochromatic
#0D2C0F #1C5B1F #2A8A2F #38B93F #60CF66

Accessibility & contrast

On white

4.40
#2A8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2A8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A2F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A2F#FFFFFF#000000##000000
##2A8A2F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#0E8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a2f;
/* rgb */ color: rgb(42, 138, 47);
/* oklch */ color: oklch(55.8% 0.156 143.9);
Tailwind
colors: {
  custom: {
    50: '#71ad6c',
    500: '#2a8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a2f;
$custom-light: #71ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a2f",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 123.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.15592,
    "h": 143.9
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#2A8A2F
secondary
#B45BB0
accent
#4BD5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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