#2A9928#2A9928

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

Color values

HEX#2A9928
RGBrgb(42, 153, 40)
HSLhsl(119, 59%, 38%)
HSVhsv(119, 74%, 60%)
CMYKcmyk(72.5%, 0%, 73.9%, 40%)
CIE-LABlab(55.51, -52.42, 47.79)
CIE-LCHlch(55.51, 70.93, 137.65°)
OKLaboklab(59.92% -0.1424 0.1084)
OKLCHoklch(59.92% 0.179 142.7)
XYZxyz(12.7283, 23.4265, 5.8580)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9928 #972899
analogous
#629928 #2A9928 #28995E
triadic
#2A9928 #282A99 #99282A
tetradic
#2A9928 #286299 #972899 #995E28
square
#2A9928 #286299 #972899 #995E28
split-complementary
#2A9928 #5E2899 #992862
monochromatic
#0F380F #1D681B #2A9928 #37CA35 #67D765

Accessibility & contrast

On white

3.69
#2A9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2A9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9928
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9928#FFFFFF#000000##000000
##2A99281.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#039483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9928;
/* rgb */ color: rgb(42, 153, 40);
/* oklch */ color: oklch(59.9% 0.179 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b869',
    500: '#2a9928',
    950: '#000000',
  },
}
SCSS
$custom: #2a9928;
$custom-light: #75b869;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9928",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 118.938,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.17896,
    "h": 142.7
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#2A9928
secondary
#BB60BD
accent
#46E2DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9928

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

Preview Lab → · Contrast checker → · Palette generator →

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