#2A9933#2A9933

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

Color values

HEX#2A9933
RGBrgb(42, 153, 51)
HSLhsl(125, 57%, 38%)
HSVhsv(125, 73%, 60%)
CMYKcmyk(72.5%, 0%, 66.7%, 40%)
CIE-LABlab(55.60, -51.37, 43.37)
CIE-LCHlch(55.60, 67.23, 139.83°)
OKLaboklab(60.02% -0.139 0.1004)
OKLCHoklch(60.02% 0.172 144.2)
XYZxyz(12.9428, 23.5123, 6.9875)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9933 #992A90
analogous
#58992A #2A9933 #2A996A
triadic
#2A9933 #332A99 #99332A
tetradic
#2A9933 #2A5899 #992A90 #996A2A
square
#2A9933 #2A5899 #992A90 #996A2A
split-complementary
#2A9933 #6A2A99 #992A58
monochromatic
#103913 #1D6923 #2A9933 #38C844 #68D671

Accessibility & contrast

On white

3.68
#2A9933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9933#FFFFFF#000000##000000
##2A99331.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a9933;
/* rgb */ color: rgb(42, 153, 51);
/* oklch */ color: oklch(60.0% 0.172 144.2);
Tailwind
colors: {
  custom: {
    50: '#75b86f',
    500: '#2a9933',
    950: '#000000',
  },
}
SCSS
$custom: #2a9933;
$custom-light: #75b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9933",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 124.865,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.17151,
    "h": 144.2
  },
  "luminance": 0.23514
}

Semantic roles & 50–950 ramp

primary
#2A9933
secondary
#BC63B5
accent
#48D4E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9933

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

Preview Lab → · Contrast checker → · Palette generator →

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