#2A8D1B#2A8D1B

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

Color values

HEX#2A8D1B
RGBrgb(42, 141, 27)
HSLhsl(112, 68%, 33%)
HSVhsv(112, 81%, 55%)
CMYKcmyk(70.2%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.40, -49.28, 48.31)
CIE-LCHlch(51.40, 69.02, 135.57°)
OKLaboklab(56.49% -0.1346 0.1077)
OKLCHoklch(56.49% 0.172 141.3)
XYZxyz(10.6770, 19.6200, 4.2611)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D1B #7E1B8D
analogous
#638D1B #2A8D1B #1B8D45
triadic
#2A8D1B #1B2A8D #8D1B2A
tetradic
#2A8D1B #1B638D #7E1B8D #8D451B
square
#2A8D1B #1B638D #7E1B8D #8D451B
split-complementary
#2A8D1B #451B8D #8D1B63
monochromatic
#0B2607 #1B5A11 #2A8D1B #39C025 #5ADC47

Accessibility & contrast

On white

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

On black

4.92
#2A8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D1B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D1B#FFFFFF#000000##000000
##2A8D1B1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#138878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8d1b;
/* rgb */ color: rgb(42, 141, 27);
/* oklch */ color: oklch(56.5% 0.172 141.3);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#2a8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d1b;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d1b",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 112.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.17234,
    "h": 141.3
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#2A8D1B
secondary
#AE46BD
accent
#3DEBD4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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