#2A9C28#2A9C28

#2A9C28 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.182 H 142.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2A9C28
RGBrgb(42, 156, 40)
HSLhsl(119, 59%, 38%)
HSVhsv(119, 74%, 61%)
CMYKcmyk(73.1%, 0%, 74.4%, 38.8%)
CIE-LABlab(56.51, -53.43, 48.80)
CIE-LCHlch(56.51, 72.37, 137.59°)
OKLaboklab(60.75% -0.1452 0.1105)
OKLCHoklch(60.75% 0.182 142.7)
XYZxyz(13.2255, 24.4209, 6.0238)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C28 #9A289C
analogous
#649C28 #2A9C28 #289C60
triadic
#2A9C28 #282A9C #9C282A
tetradic
#2A9C28 #28649C #9A289C #9C6028
square
#2A9C28 #28649C #9A289C #9C6028
split-complementary
#2A9C28 #60289C #9C2864
monochromatic
#103B0F #1D6B1C #2A9C28 #38CB36 #68D867

Accessibility & contrast

On white

3.57
#2A9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#2A9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9C28
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9C28#FFFFFF#000000##000000
##2A9C281.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D12
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c28;
/* rgb */ color: rgb(42, 156, 40);
/* oklch */ color: oklch(60.8% 0.182 142.7);
Tailwind
colors: {
  custom: {
    50: '#76ba6a',
    500: '#2a9c28',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c28;
$custom-light: #76ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c28",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 118.966,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6075,
    "c": 0.18243,
    "h": 142.7
  },
  "luminance": 0.24422
}

Semantic roles & 50–950 ramp

primary
#2A9C28
secondary
#BC62BE
accent
#45E2E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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