#2A9930#2A9930

#2A9930 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.174 H 143.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2A9930
RGBrgb(42, 153, 48)
HSLhsl(123, 57%, 38%)
HSVhsv(123, 73%, 60%)
CMYKcmyk(72.5%, 0%, 68.6%, 40%)
CIE-LABlab(55.57, -51.68, 44.63)
CIE-LCHlch(55.57, 68.29, 139.18°)
OKLaboklab(59.99% -0.14 0.1028)
OKLCHoklch(59.99% 0.174 143.7)
XYZxyz(12.8788, 23.4867, 6.6504)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9930 #992A93
analogous
#5B992A #2A9930 #2A9967
triadic
#2A9930 #302A99 #99302A
tetradic
#2A9930 #2A5B99 #992A93 #99672A
square
#2A9930 #2A5B99 #992A93 #99672A
split-complementary
#2A9930 #672A99 #992A5B
monochromatic
#103912 #1D6921 #2A9930 #38C840 #68D66E

Accessibility & contrast

On white

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

On black

5.70
#2A9930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9930
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9930#FFFFFF#000000##000000
##2A99301.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A22
Deuteranopia (green-blind)
#8F823A
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9930;
/* rgb */ color: rgb(42, 153, 48);
/* oklch */ color: oklch(60.0% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#75b86e',
    500: '#2a9930',
    950: '#000000',
  },
}
SCSS
$custom: #2a9930;
$custom-light: #75b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9930",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 123.243,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.17368,
    "h": 143.7
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#2A9930
secondary
#BC63B7
accent
#48D8E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9930

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

Preview Lab → · Contrast checker → · Palette generator →

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