#2A9C23#2A9C23

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

Color values

HEX#2A9C23
RGBrgb(42, 156, 35)
HSLhsl(117, 63%, 37%)
HSVhsv(117, 78%, 61%)
CMYKcmyk(73.1%, 0%, 77.6%, 38.8%)
CIE-LABlab(56.48, -53.82, 50.56)
CIE-LCHlch(56.48, 73.84, 136.79°)
OKLaboklab(60.71% -0.1464 0.1135)
OKLCHoklch(60.71% 0.185 142.2)
XYZxyz(13.1459, 24.3891, 5.6045)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C23 #95239C
analogous
#669C23 #2A9C23 #239C59
triadic
#2A9C23 #232A9C #9C232A
tetradic
#2A9C23 #23669C #95239C #9C5923
square
#2A9C23 #23669C #95239C #9C5923
split-complementary
#2A9C23 #59239C #9C2366
monochromatic
#0F380D #1D6A18 #2A9C23 #37CE2E #66DB5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9C23#FFFFFF#000000##000000
##2A9C231.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)
#A08D05
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#029785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c23;
/* rgb */ color: rgb(42, 156, 35);
/* oklch */ color: oklch(60.7% 0.185 142.2);
Tailwind
colors: {
  custom: {
    50: '#76ba67',
    500: '#2a9c23',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c23;
$custom-light: #76ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c23",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 116.529,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.18526,
    "h": 142.2
  },
  "luminance": 0.24391
}

Semantic roles & 50–950 ramp

primary
#2A9C23
secondary
#BA5BC0
accent
#41E6DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9C23

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

Preview Lab → · Contrast checker → · Palette generator →

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