#2A9015#2A9015

#2A9015 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.178 H 141.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A9015
RGBrgb(42, 144, 21)
HSLhsl(110, 75%, 32%)
HSVhsv(110, 85%, 56%)
CMYKcmyk(70.8%, 0%, 85.4%, 43.5%)
CIE-LABlab(52.39, -50.65, 50.98)
CIE-LCHlch(52.39, 71.86, 134.82°)
OKLaboklab(57.3% -0.1385 0.1124)
OKLCHoklch(57.3% 0.178 141)
XYZxyz(11.0629, 20.4917, 4.0816)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9015 #7B1590
analogous
#689015 #2A9015 #15903E
triadic
#2A9015 #152A90 #90152A
tetradic
#2A9015 #156890 #7B1590 #903E15
square
#2A9015 #156890 #7B1590 #903E15
split-complementary
#2A9015 #3E1590 #901568
monochromatic
#0B2505 #1A5B0D #2A9015 #3AC51D #59E33D

Accessibility & contrast

On white

4.12
#2A9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2A9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9015
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9015#FFFFFF#000000##000000
##2A90151.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#138B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9015;
/* rgb */ color: rgb(42, 144, 21);
/* oklch */ color: oklch(57.3% 0.178 141.0);
Tailwind
colors: {
  custom: {
    50: '#74b25f',
    500: '#2a9015',
    950: '#000000',
  },
}
SCSS
$custom: #2a9015;
$custom-light: #74b25f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9015",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 109.756,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.17838,
    "h": 141
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9015

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

Preview Lab → · Contrast checker → · Palette generator →

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