#2A8B2F#2A8B2F

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

Color values

HEX#2A8B2F
RGBrgb(42, 139, 47)
HSLhsl(123, 54%, 35%)
HSVhsv(123, 70%, 55%)
CMYKcmyk(69.8%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.88, -46.83, 39.95)
CIE-LCHlch(50.88, 61.56, 139.53°)
OKLaboklab(56.1% -0.1269 0.0928)
OKLCHoklch(56.1% 0.157 143.8)
XYZxyz(10.6999, 19.1616, 5.8234)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8B2F #8B2A86
analogous
#558B2A #2A8B2F #2A8B5F
triadic
#2A8B2F #2F2A8B #8B2F2A
tetradic
#2A8B2F #2A558B #8B2A86 #8B5F2A
square
#2A8B2F #2A558B #8B2A86 #8B5F2A
split-complementary
#2A8B2F #5F2A8B #8B2A55
monochromatic
#0E2D0F #1C5C1F #2A8B2F #38BA3F #60CF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8B2F#FFFFFF#000000##000000
##2A8B2F1.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)
#8E7E24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#0D8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8b2f;
/* rgb */ color: rgb(42, 139, 47);
/* oklch */ color: oklch(56.1% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#72ae6c',
    500: '#2a8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8b2f;
$custom-light: #72ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8b2f",
  "rgb": {
    "r": 42,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 123.093,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.1572,
    "h": 143.8
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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