#2A9923#2A9923

#2A9923 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.182 H 142.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A9923
RGBrgb(42, 153, 35)
HSLhsl(116, 63%, 37%)
HSVhsv(116, 77%, 60%)
CMYKcmyk(72.5%, 0%, 77.1%, 40%)
CIE-LABlab(55.48, -52.82, 49.58)
CIE-LCHlch(55.48, 72.44, 136.81°)
OKLaboklab(59.89% -0.1437 0.1114)
OKLCHoklch(59.89% 0.182 142.2)
XYZxyz(12.6487, 23.3947, 5.4388)
Luminance0.2340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9923 #922399
analogous
#659923 #2A9923 #239957
triadic
#2A9923 #232A99 #99232A
tetradic
#2A9923 #236599 #922399 #995723
square
#2A9923 #236599 #922399 #995723
split-complementary
#2A9923 #572399 #992365
monochromatic
#0F350C #1C6718 #2A9923 #38CB2E #64DA5D

Accessibility & contrast

On white

3.70
#2A9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9923
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9923#FFFFFF#000000##000000
##2A99231.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A07
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#059483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9923;
/* rgb */ color: rgb(42, 153, 35);
/* oklch */ color: oklch(59.9% 0.182 142.2);
Tailwind
colors: {
  custom: {
    50: '#76b867',
    500: '#2a9923',
    950: '#000000',
  },
}
SCSS
$custom: #2a9923;
$custom-light: #76b867;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9923",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 116.441,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59885,
    "c": 0.18187,
    "h": 142.2
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#2A9923
secondary
#B859BE
accent
#42E6DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9923

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

Preview Lab → · Contrast checker → · Palette generator →

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