#2A9523#2A9523

#2A9523 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.177 H 142.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2A9523
RGBrgb(42, 149, 35)
HSLhsl(116, 62%, 36%)
HSVhsv(116, 77%, 58%)
CMYKcmyk(71.8%, 0%, 76.5%, 41.6%)
CIE-LABlab(54.14, -51.46, 48.26)
CIE-LCHlch(54.14, 70.55, 136.84°)
OKLaboklab(58.78% -0.1401 0.1087)
OKLCHoklch(58.78% 0.177 142.2)
XYZxyz(12.0050, 22.1072, 5.2242)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9523 #8E2395
analogous
#639523 #2A9523 #239555
triadic
#2A9523 #232A95 #95232A
tetradic
#2A9523 #236395 #8E2395 #955523
square
#2A9523 #236395 #8E2395 #955523
split-complementary
#2A9523 #552395 #952363
monochromatic
#0E320C #1C6317 #2A9523 #38C72F #62D85A

Accessibility & contrast

On white

3.87
#2A9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#2A9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9523
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9523#FFFFFF#000000##000000
##2A95231.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#0A907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9523;
/* rgb */ color: rgb(42, 149, 35);
/* oklch */ color: oklch(58.8% 0.177 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b566',
    500: '#2a9523',
    950: '#000000',
  },
}
SCSS
$custom: #2a9523;
$custom-light: #75b566;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9523",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 116.316,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.17728,
    "h": 142.2
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#2A9523
secondary
#B657BD
accent
#43E5DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9523

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

Preview Lab → · Contrast checker → · Palette generator →

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