#2A9331#2A9331

#2A9331 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.166 H 144.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2A9331
RGBrgb(42, 147, 49)
HSLhsl(124, 56%, 37%)
HSVhsv(124, 71%, 58%)
CMYKcmyk(71.4%, 0%, 66.7%, 42.4%)
CIE-LABlab(53.58, -49.48, 42.03)
CIE-LCHlch(53.58, 64.92, 139.65°)
OKLaboklab(58.34% -0.134 0.0974)
OKLCHoklch(58.34% 0.166 144)
XYZxyz(11.9422, 21.5801, 6.4411)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9331 #932A8C
analogous
#58932A #2A9331 #2A9366
triadic
#2A9331 #312A93 #93312A
tetradic
#2A9331 #2A5893 #932A8C #93662A
square
#2A9331 #2A5893 #932A8C #93662A
split-complementary
#2A9331 #662A93 #932A58
monochromatic
#0F3411 #1C6321 #2A9331 #38C341 #65D36C

Accessibility & contrast

On white

3.95
#2A9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#2A9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9331
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9331#FFFFFF#000000##000000
##2A93311.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#048F7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a9331;
/* rgb */ color: rgb(42, 147, 49);
/* oklch */ color: oklch(58.3% 0.166 144.0);
Tailwind
colors: {
  custom: {
    50: '#73b46e',
    500: '#2a9331',
    950: '#000000',
  },
}
SCSS
$custom: #2a9331;
$custom-light: #73b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9331",
  "rgb": {
    "r": 42,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 124,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.16565,
    "h": 144
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#2A9331
secondary
#B960B3
accent
#49D5DF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9331

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

Preview Lab → · Contrast checker → · Palette generator →

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