#2A9B27#2A9B27

#2A9B27 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.182 H 142.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2A9B27
RGBrgb(42, 155, 39)
HSLhsl(118, 60%, 38%)
HSVhsv(118, 75%, 61%)
CMYKcmyk(72.9%, 0%, 74.8%, 39.2%)
CIE-LABlab(56.17, -53.18, 48.83)
CIE-LCHlch(56.17, 72.20, 137.44°)
OKLaboklab(60.47% -0.1445 0.1104)
OKLCHoklch(60.47% 0.182 142.6)
XYZxyz(13.0416, 24.0800, 5.8796)
Luminance0.2408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9B27 #98279B
analogous
#649B27 #2A9B27 #279B5E
triadic
#2A9B27 #272A9B #9B272A
tetradic
#2A9B27 #27649B #98279B #9B5E27
square
#2A9B27 #27649B #98279B #9B5E27
split-complementary
#2A9B27 #5E279B #9B2764
monochromatic
#10390E #1D6A1B #2A9B27 #37CC33 #67D864

Accessibility & contrast

On white

3.61
#2A9B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#2A9B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9B27
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9B27#FFFFFF#000000##000000
##2A9B271.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C11
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#019685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9b27;
/* rgb */ color: rgb(42, 155, 39);
/* oklch */ color: oklch(60.5% 0.182 142.6);
Tailwind
colors: {
  custom: {
    50: '#76ba69',
    500: '#2a9b27',
    950: '#000000',
  },
}
SCSS
$custom: #2a9b27;
$custom-light: #76ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9b27",
  "rgb": {
    "r": 42,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 118.448,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.18188,
    "h": 142.6
  },
  "luminance": 0.24081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9B27

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

Preview Lab → · Contrast checker → · Palette generator →

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