#2A7933#2A7933

#2A7933 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.130 H 145.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2A7933
RGBrgb(42, 121, 51)
HSLhsl(127, 48%, 32%)
HSVhsv(127, 65%, 47%)
CMYKcmyk(65.3%, 0%, 57.9%, 52.5%)
CIE-LABlab(44.81, -39.49, 31.05)
CIE-LCHlch(44.81, 50.23, 141.82°)
OKLaboklab(51.1% -0.1068 0.074)
OKLCHoklch(51.1% 0.13 145.3)
XYZxyz(8.3892, 14.4052, 5.4697)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7933 #792A70
analogous
#49792A #2A7933 #2A795A
triadic
#2A7933 #332A79 #79332A
tetradic
#2A7933 #2A4979 #792A70 #795A2A
square
#2A7933 #2A4979 #792A70 #795A2A
split-complementary
#2A7933 #5A2A79 #792A49
monochromatic
#0A1E0D #1A4C20 #2A7933 #3AA646 #58C565

Accessibility & contrast

On white

5.41
#2A7933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2A7933 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7933
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7933#FFFFFF#000000##FFFFFF
##2A79331.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#177669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7933;
/* rgb */ color: rgb(42, 121, 51);
/* oklch */ color: oklch(51.1% 0.130 145.3);
Tailwind
colors: {
  custom: {
    50: '#6da06d',
    500: '#2a7933',
    950: '#000000',
  },
}
SCSS
$custom: #2a7933;
$custom-light: #6da06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7933",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 126.835,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.12996,
    "h": 145.3
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#2A7933
secondary
#AB54A1
accent
#50C9D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2A7933

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

Preview Lab → · Contrast checker → · Palette generator →

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