#2A9017#2A9017

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

Color values

HEX#2A9017
RGBrgb(42, 144, 23)
HSLhsl(111, 72%, 33%)
HSVhsv(111, 84%, 56%)
CMYKcmyk(70.8%, 0%, 84%, 43.5%)
CIE-LABlab(52.40, -50.55, 50.44)
CIE-LCHlch(52.40, 71.41, 135.06°)
OKLaboklab(57.31% -0.1382 0.1115)
OKLCHoklch(57.31% 0.178 141.1)
XYZxyz(11.0822, 20.4994, 4.1832)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9017 #7D1790
analogous
#669017 #2A9017 #179041
triadic
#2A9017 #172A90 #90172A
tetradic
#2A9017 #176690 #7D1790 #904117
square
#2A9017 #176690 #7D1790 #904117
split-complementary
#2A9017 #411790 #901766
monochromatic
#0B2606 #1B5B0F #2A9017 #39C51F #5AE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9017#FFFFFF#000000##000000
##2A90171.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)
#887A27
Tritanopia (blue-blind)
#128B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9017;
/* rgb */ color: rgb(42, 144, 23);
/* oklch */ color: oklch(57.3% 0.178 141.1);
Tailwind
colors: {
  custom: {
    50: '#74b260',
    500: '#2a9017',
    950: '#000000',
  },
}
SCSS
$custom: #2a9017;
$custom-light: #74b260;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9017",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 110.579,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.17756,
    "h": 141.1
  },
  "luminance": 0.20501
}

Semantic roles & 50–950 ramp

primary
#2A9017
secondary
#AD42C1
accent
#39EFD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A9017

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

Preview Lab → · Contrast checker → · Palette generator →

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