#2A9833#2A9833

#2A9833 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.170 H 144.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A9833
RGBrgb(42, 152, 51)
HSLhsl(125, 57%, 38%)
HSVhsv(125, 72%, 60%)
CMYKcmyk(72.4%, 0%, 66.4%, 40.4%)
CIE-LABlab(55.26, -51.02, 43.00)
CIE-LCHlch(55.26, 66.73, 139.87°)
OKLaboklab(59.75% -0.1381 0.0997)
OKLCHoklch(59.75% 0.17 144.2)
XYZxyz(12.7798, 23.1863, 6.9332)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9833 #982A8F
analogous
#58982A #2A9833 #2A986A
triadic
#2A9833 #332A98 #98332A
tetradic
#2A9833 #2A5898 #982A8F #986A2A
square
#2A9833 #2A5898 #982A8F #986A2A
split-complementary
#2A9833 #6A2A98 #982A58
monochromatic
#103813 #1D6823 #2A9833 #37C843 #67D570

Accessibility & contrast

On white

3.72
#2A9833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2A9833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9833
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9833#FFFFFF#000000##000000
##2A98331.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A26
Deuteranopia (green-blind)
#8E813C
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9833;
/* rgb */ color: rgb(42, 152, 51);
/* oklch */ color: oklch(59.7% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#74b76f',
    500: '#2a9833',
    950: '#000000',
  },
}
SCSS
$custom: #2a9833;
$custom-light: #74b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9833",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 51
  },
  "hsl": {
    "h": 124.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.17029,
    "h": 144.2
  },
  "luminance": 0.23188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9833

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

Preview Lab → · Contrast checker → · Palette generator →

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