#2A9C27#2A9C27

#2A9C27 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.7% C 0.183 H 142.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A9C27
RGBrgb(42, 156, 39)
HSLhsl(118, 60%, 38%)
HSVhsv(118, 75%, 61%)
CMYKcmyk(73.1%, 0%, 75%, 38.8%)
CIE-LABlab(56.50, -53.51, 49.17)
CIE-LCHlch(56.50, 72.67, 137.42°)
OKLaboklab(60.74% -0.1454 0.1111)
OKLCHoklch(60.74% 0.183 142.6)
XYZxyz(13.2087, 24.4142, 5.9354)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C27 #99279C
analogous
#649C27 #2A9C27 #279C5F
triadic
#2A9C27 #272A9C #9C272A
tetradic
#2A9C27 #27649C #99279C #9C5F27
square
#2A9C27 #27649C #99279C #9C5F27
split-complementary
#2A9C27 #5F279C #9C2764
monochromatic
#103A0F #1D6B1B #2A9C27 #38CC34 #68D865

Accessibility & contrast

On white

3.57
#2A9C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#2A9C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9C27
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9C27#FFFFFF#000000##000000
##2A9C271.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D10
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c27;
/* rgb */ color: rgb(42, 156, 39);
/* oklch */ color: oklch(60.7% 0.183 142.6);
Tailwind
colors: {
  custom: {
    50: '#76ba69',
    500: '#2a9c27',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c27;
$custom-light: #76ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c27",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 118.462,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.18302,
    "h": 142.6
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#2A9C27
secondary
#BC61BE
accent
#45E3DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9C27

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

Preview Lab → · Contrast checker → · Palette generator →

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