#2A8B2D#2A8B2D

#2A8B2D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.159 H 143.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A8B2D
RGBrgb(42, 139, 45)
HSLhsl(122, 54%, 35%)
HSVhsv(122, 70%, 55%)
CMYKcmyk(69.8%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.86, -47.05, 40.82)
CIE-LCHlch(50.86, 62.29, 139.05°)
OKLaboklab(56.08% -0.1276 0.0944)
OKLCHoklch(56.08% 0.159 143.5)
XYZxyz(10.6605, 19.1458, 5.6158)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B2D #8B2A88
analogous
#578B2A #2A8B2D #2A8B5E
triadic
#2A8B2D #2D2A8B #8B2D2A
tetradic
#2A8B2D #2A578B #8B2A88 #8B5E2A
square
#2A8B2D #2A578B #8B2A88 #8B5E2A
split-complementary
#2A8B2D #5E2A8B #8B2A57
monochromatic
#0E2D0F #1C5C1E #2A8B2D #38BA3C #60CF64

Accessibility & contrast

On white

4.35
#2A8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2A8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8B2D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8B2D#FFFFFF#000000##000000
##2A8B2D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#0E8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b2d;
/* rgb */ color: rgb(42, 139, 45);
/* oklch */ color: oklch(56.1% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#72ae6a',
    500: '#2a8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b2d;
$custom-light: #72ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b2d",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 121.856,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.15871,
    "h": 143.5
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#2A8B2D
secondary
#B55CB2
accent
#4BD8DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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