#2A9019#2A9019

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

Color values

HEX#2A9019
RGBrgb(42, 144, 25)
HSLhsl(111, 70%, 33%)
HSVhsv(111, 83%, 56%)
CMYKcmyk(70.8%, 0%, 82.6%, 43.5%)
CIE-LABlab(52.41, -50.44, 49.87)
CIE-LCHlch(52.41, 70.93, 135.32°)
OKLaboklab(57.32% -0.1378 0.1106)
OKLCHoklch(57.32% 0.177 141.2)
XYZxyz(11.1030, 20.5078, 4.2928)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9019 #7F1990
analogous
#659019 #2A9019 #199044
triadic
#2A9019 #192A90 #90192A
tetradic
#2A9019 #196590 #7F1990 #904419
square
#2A9019 #196590 #7F1990 #904419
split-complementary
#2A9019 #441990 #901965
monochromatic
#0C2807 #1B5C10 #2A9019 #39C422 #5BDF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2a9019;
/* rgb */ color: rgb(42, 144, 25);
/* oklch */ color: oklch(57.3% 0.177 141.2);
Tailwind
colors: {
  custom: {
    50: '#74b261',
    500: '#2a9019',
    950: '#000000',
  },
}
SCSS
$custom: #2a9019;
$custom-light: #74b261;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9019",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 111.429,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.17669,
    "h": 141.2
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#2A9019
secondary
#AE45C0
accent
#3BEDD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A9019

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

Preview Lab → · Contrast checker → · Palette generator →

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