#2A9021#2A9021

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

Color values

HEX#2A9021
RGBrgb(42, 144, 33)
HSLhsl(115, 63%, 35%)
HSVhsv(115, 77%, 56%)
CMYKcmyk(70.8%, 0%, 77.1%, 43.5%)
CIE-LABlab(52.45, -49.90, 47.30)
CIE-LCHlch(52.45, 68.75, 136.53°)
OKLaboklab(57.37% -0.1359 0.1064)
OKLCHoklch(57.37% 0.173 142)
XYZxyz(11.2020, 20.5474, 4.8142)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9021 #872190
analogous
#629021 #2A9021 #219050
triadic
#2A9021 #212A90 #90212A
tetradic
#2A9021 #216290 #872190 #905021
square
#2A9021 #216290 #872190 #905021
split-complementary
#2A9021 #502190 #902162
monochromatic
#0D2C0A #1B5E16 #2A9021 #39C22C #5ED854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9021#FFFFFF#000000##000000
##2A90211.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)
#948208
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#0F8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9021;
/* rgb */ color: rgb(42, 144, 33);
/* oklch */ color: oklch(57.4% 0.173 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b265',
    500: '#2a9021',
    950: '#000000',
  },
}
SCSS
$custom: #2a9021;
$custom-light: #74b265;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9021",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 115.135,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5737,
    "c": 0.17263,
    "h": 142
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#2A9021
secondary
#B351BB
accent
#42E6D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9021

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

Preview Lab → · Contrast checker → · Palette generator →

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