#2A9723#2A9723

#2A9723 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.180 H 142.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9723
RGBrgb(42, 151, 35)
HSLhsl(116, 62%, 36%)
HSVhsv(116, 77%, 59%)
CMYKcmyk(72.2%, 0%, 76.8%, 40.8%)
CIE-LABlab(54.81, -52.14, 48.92)
CIE-LCHlch(54.81, 71.50, 136.83°)
OKLaboklab(59.33% -0.1419 0.1101)
OKLCHoklch(59.33% 0.18 142.2)
XYZxyz(12.3241, 22.7455, 5.3306)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9723 #902397
analogous
#649723 #2A9723 #239756
triadic
#2A9723 #232A97 #97232A
tetradic
#2A9723 #236497 #902397 #975623
square
#2A9723 #236497 #902397 #975623
split-complementary
#2A9723 #562397 #972364
monochromatic
#0E340C #1C6517 #2A9723 #38C92F #63D95B

Accessibility & contrast

On white

3.78
#2A9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9723
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9723#FFFFFF#000000##000000
##2A97231.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8809
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#089281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9723;
/* rgb */ color: rgb(42, 151, 35);
/* oklch */ color: oklch(59.3% 0.180 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b767',
    500: '#2a9723',
    950: '#000000',
  },
}
SCSS
$custom: #2a9723;
$custom-light: #75b767;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9723",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 116.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59331,
    "c": 0.17959,
    "h": 142.2
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#2A9723
secondary
#B758BE
accent
#42E5DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9723

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

Preview Lab → · Contrast checker → · Palette generator →

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