#2A9B23#2A9B23

#2A9B23 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.4% C 0.184 H 142.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A9B23
RGBrgb(42, 155, 35)
HSLhsl(117, 63%, 37%)
HSVhsv(117, 77%, 61%)
CMYKcmyk(72.9%, 0%, 77.4%, 39.2%)
CIE-LABlab(56.14, -53.48, 50.23)
CIE-LCHlch(56.14, 73.38, 136.79°)
OKLaboklab(60.44% -0.1455 0.1128)
OKLCHoklch(60.44% 0.184 142.2)
XYZxyz(12.9788, 24.0548, 5.5488)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9B23 #94239B
analogous
#669B23 #2A9B23 #239B58
triadic
#2A9B23 #232A9B #9B232A
tetradic
#2A9B23 #23669B #94239B #9B5823
square
#2A9B23 #23669B #94239B #9B5823
split-complementary
#2A9B23 #58239B #9B2366
monochromatic
#0F370C #1C6918 #2A9B23 #38CD2E #65DB5E

Accessibility & contrast

On white

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

On black

5.81
#2A9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9B23
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9B23#FFFFFF#000000##000000
##2A9B231.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#039684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9b23;
/* rgb */ color: rgb(42, 155, 35);
/* oklch */ color: oklch(60.4% 0.184 142.2);
Tailwind
colors: {
  custom: {
    50: '#76ba67',
    500: '#2a9b23',
    950: '#000000',
  },
}
SCSS
$custom: #2a9b23;
$custom-light: #76ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9b23",
  "rgb": {
    "r": 42,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 116.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.18414,
    "h": 142.2
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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