#2A9A27#2A9A27

#2A9A27 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.181 H 142.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A9A27
RGBrgb(42, 154, 39)
HSLhsl(118, 60%, 38%)
HSVhsv(118, 75%, 60%)
CMYKcmyk(72.7%, 0%, 74.7%, 39.6%)
CIE-LABlab(55.84, -52.84, 48.50)
CIE-LCHlch(55.84, 71.72, 137.46°)
OKLaboklab(60.19% -0.1436 0.1097)
OKLCHoklch(60.19% 0.181 142.6)
XYZxyz(12.8759, 23.7485, 5.8244)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A27 #97279A
analogous
#639A27 #2A9A27 #279A5E
triadic
#2A9A27 #272A9A #9A272A
tetradic
#2A9A27 #27639A #97279A #9A5E27
square
#2A9A27 #27639A #97279A #9A5E27
split-complementary
#2A9A27 #5E279A #9A2763
monochromatic
#0F380E #1D691B #2A9A27 #37CB33 #67D864

Accessibility & contrast

On white

3.65
#2A9A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A9A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A27
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A27#FFFFFF#000000##000000
##2A9A271.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B11
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#029584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a27;
/* rgb */ color: rgb(42, 154, 39);
/* oklch */ color: oklch(60.2% 0.181 142.6);
Tailwind
colors: {
  custom: {
    50: '#76b969',
    500: '#2a9a27',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a27;
$custom-light: #76b969;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a27",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 118.435,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.18072,
    "h": 142.6
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9A27

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

Preview Lab → · Contrast checker → · Palette generator →

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