#2A9A30#2A9A30

#2A9A30 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.175 H 143.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A9A30
RGBrgb(42, 154, 48)
HSLhsl(123, 57%, 38%)
HSVhsv(123, 73%, 60%)
CMYKcmyk(72.7%, 0%, 68.8%, 39.6%)
CIE-LABlab(55.90, -52.02, 44.99)
CIE-LCHlch(55.90, 68.78, 139.15°)
OKLaboklab(60.27% -0.1409 0.1035)
OKLCHoklch(60.27% 0.175 143.7)
XYZxyz(13.0431, 23.8154, 6.7052)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A30 #9A2A94
analogous
#5C9A2A #2A9A30 #2A9A68
triadic
#2A9A30 #302A9A #9A302A
tetradic
#2A9A30 #2A5C9A #9A2A94 #9A682A
square
#2A9A30 #2A5C9A #9A2A94 #9A682A
split-complementary
#2A9A30 #682A9A #9A2A5C
monochromatic
#103A12 #1D6A21 #2A9A30 #38C940 #68D66E

Accessibility & contrast

On white

3.64
#2A9A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2A9A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A30
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A30#FFFFFF#000000##000000
##2A9A301.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#90833A
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a30;
/* rgb */ color: rgb(42, 154, 48);
/* oklch */ color: oklch(60.3% 0.175 143.7);
Tailwind
colors: {
  custom: {
    50: '#75b96e',
    500: '#2a9a30',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a30;
$custom-light: #75b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a30",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 123.214,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.17487,
    "h": 143.7
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

primary
#2A9A30
secondary
#BC63B8
accent
#47D8E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9A30

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

Preview Lab → · Contrast checker → · Palette generator →

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