#2A8D1F#2A8D1F

#2A8D1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.170 H 141.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A8D1F
RGBrgb(42, 141, 31)
HSLhsl(114, 64%, 34%)
HSVhsv(114, 78%, 55%)
CMYKcmyk(70.2%, 0%, 78%, 44.7%)
CIE-LABlab(51.43, -49.01, 47.00)
CIE-LCHlch(51.43, 67.90, 136.20°)
OKLaboklab(56.52% -0.1336 0.1055)
OKLCHoklch(56.52% 0.17 141.7)
XYZxyz(10.7265, 19.6398, 4.5216)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D1F #821F8D
analogous
#618D1F #2A8D1F #1F8D4B
triadic
#2A8D1F #1F2A8D #8D1F2A
tetradic
#2A8D1F #1F618D #821F8D #8D4B1F
square
#2A8D1F #1F618D #821F8D #8D4B1F
split-complementary
#2A8D1F #4B1F8D #8D1F61
monochromatic
#0C2909 #1B5B14 #2A8D1F #39BF2A #5CD84E

Accessibility & contrast

On white

4.26
#2A8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2A8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D1F#FFFFFF#000000##000000
##2A8D1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#128878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d1f;
/* rgb */ color: rgb(42, 141, 31);
/* oklch */ color: oklch(56.5% 0.170 141.7);
Tailwind
colors: {
  custom: {
    50: '#73af63',
    500: '#2a8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d1f;
$custom-light: #73af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d1f",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 114,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.17025,
    "h": 141.7
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#2A8D1F
secondary
#B04DBB
accent
#41E7D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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