#2A9728#2A9728

#2A9728 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.177 H 142.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A9728
RGBrgb(42, 151, 40)
HSLhsl(119, 58%, 37%)
HSVhsv(119, 74%, 59%)
CMYKcmyk(72.2%, 0%, 73.5%, 40.8%)
CIE-LABlab(54.84, -51.74, 47.11)
CIE-LCHlch(54.84, 69.97, 137.68°)
OKLaboklab(59.37% -0.1406 0.107)
OKLCHoklch(59.37% 0.177 142.7)
XYZxyz(12.4037, 22.7773, 5.7498)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9728 #952897
analogous
#619728 #2A9728 #28975E
triadic
#2A9728 #282A97 #97282A
tetradic
#2A9728 #286197 #952897 #975E28
square
#2A9728 #286197 #952897 #975E28
split-complementary
#2A9728 #5E2897 #972861
monochromatic
#0F360E #1D671B #2A9728 #37C735 #66D664

Accessibility & contrast

On white

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

On black

5.56
#2A9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9728
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9728#FFFFFF#000000##000000
##2A97281.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#059281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9728;
/* rgb */ color: rgb(42, 151, 40);
/* oklch */ color: oklch(59.4% 0.177 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b769',
    500: '#2a9728',
    950: '#000000',
  },
}
SCSS
$custom: #2a9728;
$custom-light: #75b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9728",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 118.919,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59369,
    "c": 0.17663,
    "h": 142.7
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#2A9728
secondary
#BA5FBC
accent
#46E1DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9728

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

Preview Lab → · Contrast checker → · Palette generator →

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