#2A9730#2A9730

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

Color values

HEX#2A9730
RGBrgb(42, 151, 48)
HSLhsl(123, 56%, 38%)
HSVhsv(123, 72%, 59%)
CMYKcmyk(72.2%, 0%, 68.2%, 40.8%)
CIE-LABlab(54.90, -50.99, 43.92)
CIE-LCHlch(54.90, 67.29, 139.26°)
OKLaboklab(59.44% -0.1381 0.1013)
OKLCHoklch(59.44% 0.171 143.8)
XYZxyz(12.5542, 22.8375, 6.5422)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9730 #972A91
analogous
#5A972A #2A9730 #2A9767
triadic
#2A9730 #302A97 #97302A
tetradic
#2A9730 #2A5A97 #972A91 #97672A
square
#2A9730 #2A5A97 #972A91 #97672A
split-complementary
#2A9730 #672A97 #972A5A
monochromatic
#0F3712 #1D6721 #2A9730 #37C73F #67D56D

Accessibility & contrast

On white

3.77
#2A9730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2A9730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9730
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9730#FFFFFF#000000##000000
##2A97301.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9730;
/* rgb */ color: rgb(42, 151, 48);
/* oklch */ color: oklch(59.4% 0.171 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b76d',
    500: '#2a9730',
    950: '#000000',
  },
}
SCSS
$custom: #2a9730;
$custom-light: #74b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9730",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 123.303,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.17127,
    "h": 143.8
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

primary
#2A9730
secondary
#BB62B6
accent
#48D7E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9730

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

Preview Lab → · Contrast checker → · Palette generator →

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