#2A8C1D#2A8C1D

#2A8C1D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 141.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A8C1D
RGBrgb(42, 140, 29)
HSLhsl(113, 66%, 33%)
HSVhsv(113, 79%, 55%)
CMYKcmyk(70%, 0%, 79.3%, 45.1%)
CIE-LABlab(51.08, -48.81, 47.34)
CIE-LCHlch(51.08, 67.99, 135.87°)
OKLaboklab(56.22% -0.1332 0.1059)
OKLCHoklch(56.22% 0.17 141.5)
XYZxyz(10.5541, 19.3360, 4.3382)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8C1D #7F1D8C
analogous
#618C1D #2A8C1D #1D8C47
triadic
#2A8C1D #1D2A8C #8C1D2A
tetradic
#2A8C1D #1D618C #7F1D8C #8C471D
square
#2A8C1D #1D618C #7F1D8C #8C471D
split-complementary
#2A8C1D #471D8C #8C1D61
monochromatic
#0C2708 #1B5912 #2A8C1D #39BF28 #5BD94A

Accessibility & contrast

On white

4.31
#2A8C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2A8C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8C1D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8C1D#FFFFFF#000000##000000
##2A8C1D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E01
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#138777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8c1d;
/* rgb */ color: rgb(42, 140, 29);
/* oklch */ color: oklch(56.2% 0.170 141.5);
Tailwind
colors: {
  custom: {
    50: '#73af62',
    500: '#2a8c1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8c1d;
$custom-light: #73af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8c1d",
  "rgb": {
    "r": 42,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 112.973,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.17017,
    "h": 141.5
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#2A8C1D
secondary
#AE49BC
accent
#3FE9D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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