#2A8D15#2A8D15

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

Color values

HEX#2A8D15
RGBrgb(42, 141, 21)
HSLhsl(110, 74%, 32%)
HSVhsv(110, 85%, 55%)
CMYKcmyk(70.2%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.38, -49.63, 50.06)
CIE-LCHlch(51.38, 70.49, 134.76°)
OKLaboklab(56.46% -0.1358 0.1104)
OKLCHoklch(56.46% 0.175 140.9)
XYZxyz(10.6145, 19.5950, 3.9321)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D15 #78158D
analogous
#668D15 #2A8D15 #158D3C
triadic
#2A8D15 #152A8D #8D152A
tetradic
#2A8D15 #15668D #78158D #8D3C15
square
#2A8D15 #15668D #78158D #8D3C15
split-complementary
#2A8D15 #3C158D #8D1566
monochromatic
#0A2205 #1A580D #2A8D15 #3AC21D #58E23B

Accessibility & contrast

On white

4.27
#2A8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8D15#FFFFFF#000000##000000
##2A8D151.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8d15;
/* rgb */ color: rgb(42, 141, 21);
/* oklch */ color: oklch(56.5% 0.175 140.9);
Tailwind
colors: {
  custom: {
    50: '#73af5f',
    500: '#2a8d15',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d15;
$custom-light: #73af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d15",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 109.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.17504,
    "h": 140.9
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#2A8D15
secondary
#AA3DC1
accent
#37F1D0
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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