#2A8F15#2A8F15

#2A8F15 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.177 H 140.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A8F15
RGBrgb(42, 143, 21)
HSLhsl(110, 74%, 32%)
HSVhsv(110, 85%, 56%)
CMYKcmyk(70.6%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.05, -50.31, 50.67)
CIE-LCHlch(52.05, 71.41, 134.80°)
OKLaboklab(57.02% -0.1376 0.1117)
OKLCHoklch(57.02% 0.177 140.9)
XYZxyz(10.9121, 20.1901, 4.0313)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F15 #7A158F
analogous
#678F15 #2A8F15 #158F3D
triadic
#2A8F15 #152A8F #8F152A
tetradic
#2A8F15 #15678F #7A158F #8F3D15
square
#2A8F15 #15678F #7A158F #8F3D15
split-complementary
#2A8F15 #3D158F #8F1567
monochromatic
#0B2405 #1A5A0D #2A8F15 #3AC41D #59E23C

Accessibility & contrast

On white

4.17
#2A8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2A8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F15
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F15#FFFFFF#000000##000000
##2A8F151.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#138A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f15;
/* rgb */ color: rgb(42, 143, 21);
/* oklch */ color: oklch(57.0% 0.177 140.9);
Tailwind
colors: {
  custom: {
    50: '#74b15f',
    500: '#2a8f15',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f15;
$custom-light: #74b15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f15",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 109.672,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.17727,
    "h": 140.9
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#2A8F15
secondary
#AB3EC2
accent
#37F1D1
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #2A8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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