#2A8F1D#2A8F1D

#2A8F1D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.174 H 141.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A8F1D
RGBrgb(42, 143, 29)
HSLhsl(113, 66%, 34%)
HSVhsv(113, 80%, 56%)
CMYKcmyk(70.6%, 0%, 79.7%, 43.9%)
CIE-LABlab(52.09, -49.84, 48.32)
CIE-LCHlch(52.09, 69.42, 135.89°)
OKLaboklab(57.06% -0.136 0.108)
OKLCHoklch(57.06% 0.174 141.6)
XYZxyz(10.9985, 20.2247, 4.4863)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F1D #821D8F
analogous
#638F1D #2A8F1D #1D8F49
triadic
#2A8F1D #1D2A8F #8F1D2A
tetradic
#2A8F1D #1D638F #821D8F #8F491D
square
#2A8F1D #1D638F #821D8F #8F491D
split-complementary
#2A8F1D #491D8F #8F1D63
monochromatic
#0C2908 #1B5C13 #2A8F1D #39C227 #5CDB4C

Accessibility & contrast

On white

4.16
#2A8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2A8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F1D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F1D#FFFFFF#000000##000000
##2A8F1D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#118A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f1d;
/* rgb */ color: rgb(42, 143, 29);
/* oklch */ color: oklch(57.1% 0.174 141.6);
Tailwind
colors: {
  custom: {
    50: '#74b163',
    500: '#2a8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f1d;
$custom-light: #74b163;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f1d",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 113.158,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.17363,
    "h": 141.6
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#2A8F1D
secondary
#B04BBD
accent
#3FE9D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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