#2A9623#2A9623

#2A9623 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.178 H 142.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A9623
RGBrgb(42, 150, 35)
HSLhsl(116, 62%, 36%)
HSVhsv(116, 77%, 59%)
CMYKcmyk(72%, 0%, 76.7%, 41.2%)
CIE-LABlab(54.48, -51.80, 48.59)
CIE-LCHlch(54.48, 71.02, 136.83°)
OKLaboklab(59.05% -0.141 0.1094)
OKLCHoklch(59.05% 0.178 142.2)
XYZxyz(12.1639, 22.4250, 5.2772)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9623 #8F2396
analogous
#649623 #2A9623 #239656
triadic
#2A9623 #232A96 #96232A
tetradic
#2A9623 #236496 #8F2396 #965623
square
#2A9623 #236496 #8F2396 #965623
split-complementary
#2A9623 #562396 #962364
monochromatic
#0E330C #1C6417 #2A9623 #38C82F #62D95B

Accessibility & contrast

On white

3.83
#2A9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2A9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9623
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9623#FFFFFF#000000##000000
##2A96231.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A870A
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#099180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9623;
/* rgb */ color: rgb(42, 150, 35);
/* oklch */ color: oklch(59.1% 0.178 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b666',
    500: '#2a9623',
    950: '#000000',
  },
}
SCSS
$custom: #2a9623;
$custom-light: #75b666;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9623",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 116.348,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.17844,
    "h": 142.2
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#2A9623
secondary
#B758BD
accent
#43E5DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9623

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

Preview Lab → · Contrast checker → · Palette generator →

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