#2A9D27#2A9D27

#2A9D27 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.0% C 0.184 H 142.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2A9D27
RGBrgb(42, 157, 39)
HSLhsl(118, 60%, 38%)
HSVhsv(118, 75%, 62%)
CMYKcmyk(73.2%, 0%, 75.2%, 38.4%)
CIE-LABlab(56.83, -53.85, 49.50)
CIE-LCHlch(56.83, 73.14, 137.41°)
OKLaboklab(61.02% -0.1463 0.1118)
OKLCHoklch(61.02% 0.184 142.6)
XYZxyz(13.3772, 24.7512, 5.9915)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9D27 #9A279D
analogous
#659D27 #2A9D27 #279D5F
triadic
#2A9D27 #272A9D #9D272A
tetradic
#2A9D27 #27659D #9A279D #9D5F27
square
#2A9D27 #27659D #9A279D #9D5F27
split-complementary
#2A9D27 #5F279D #9D2765
monochromatic
#103B0F #1D6C1B #2A9D27 #38CD35 #68D966

Accessibility & contrast

On white

3.53
#2A9D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#2A9D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9D27
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9D27#FFFFFF#000000##000000
##2A9D271.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a9d27;
/* rgb */ color: rgb(42, 157, 39);
/* oklch */ color: oklch(61.0% 0.184 142.6);
Tailwind
colors: {
  custom: {
    50: '#76bb69',
    500: '#2a9d27',
    950: '#000000',
  },
}
SCSS
$custom: #2a9d27;
$custom-light: #76bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9d27",
  "rgb": {
    "r": 42,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 118.475,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.18416,
    "h": 142.6
  },
  "luminance": 0.24753
}

Semantic roles & 50–950 ramp

primary
#2A9D27
secondary
#BC61BF
accent
#44E3DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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