#2A9020#2A9020

#2A9020 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.173 H 141.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2A9020
RGBrgb(42, 144, 32)
HSLhsl(115, 64%, 35%)
HSVhsv(115, 78%, 56%)
CMYKcmyk(70.8%, 0%, 77.8%, 43.5%)
CIE-LABlab(52.44, -49.97, 47.64)
CIE-LCHlch(52.44, 69.05, 136.37°)
OKLaboklab(57.36% -0.1362 0.107)
OKLCHoklch(57.36% 0.173 141.9)
XYZxyz(11.1882, 20.5418, 4.7416)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9020 #862090
analogous
#629020 #2A9020 #20904E
triadic
#2A9020 #202A90 #90202A
tetradic
#2A9020 #206290 #862090 #904E20
square
#2A9020 #206290 #862090 #904E20
split-complementary
#2A9020 #4E2090 #902062
monochromatic
#0D2C0A #1B5E15 #2A9020 #39C22B #5ED952

Accessibility & contrast

On white

4.11
#2A9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2A9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9020
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9020#FFFFFF#000000##000000
##2A90201.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#108B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9020;
/* rgb */ color: rgb(42, 144, 32);
/* oklch */ color: oklch(57.4% 0.173 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b264',
    500: '#2a9020',
    950: '#000000',
  },
}
SCSS
$custom: #2a9020;
$custom-light: #74b264;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9020",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 114.643,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.17318,
    "h": 141.9
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#2A9020
secondary
#B250BC
accent
#41E7D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9020

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

Preview Lab → · Contrast checker → · Palette generator →

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