#2A9A23#2A9A23

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

Color values

HEX#2A9A23
RGBrgb(42, 154, 35)
HSLhsl(116, 63%, 37%)
HSVhsv(116, 77%, 60%)
CMYKcmyk(72.7%, 0%, 77.3%, 39.6%)
CIE-LABlab(55.81, -53.15, 49.91)
CIE-LCHlch(55.81, 72.91, 136.80°)
OKLaboklab(60.16% -0.1446 0.1121)
OKLCHoklch(60.16% 0.183 142.2)
XYZxyz(12.8131, 23.7234, 5.4936)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A23 #93239A
analogous
#659A23 #2A9A23 #239A58
triadic
#2A9A23 #232A9A #9A232A
tetradic
#2A9A23 #23659A #93239A #9A5823
square
#2A9A23 #23659A #93239A #9A5823
split-complementary
#2A9A23 #58239A #9A2365
monochromatic
#0F360C #1C6818 #2A9A23 #38CC2E #65DA5D

Accessibility & contrast

On white

3.66
#2A9A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9A23#FFFFFF#000000##000000
##2A9A231.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#049583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a23;
/* rgb */ color: rgb(42, 154, 35);
/* oklch */ color: oklch(60.2% 0.183 142.2);
Tailwind
colors: {
  custom: {
    50: '#76b967',
    500: '#2a9a23',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a23;
$custom-light: #76b967;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a23",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 116.471,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.183,
    "h": 142.2
  },
  "luminance": 0.23725
}

Semantic roles & 50–950 ramp

primary
#2A9A23
secondary
#B95ABF
accent
#42E6DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9A23

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

Preview Lab → · Contrast checker → · Palette generator →

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