#2A7121#2A7121

#2A7121 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.134 H 141.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2A7121
RGBrgb(42, 113, 33)
HSLhsl(113, 55%, 29%)
HSVhsv(113, 71%, 44%)
CMYKcmyk(62.8%, 0%, 70.8%, 55.7%)
CIE-LABlab(41.86, -38.50, 36.43)
CIE-LCHlch(41.86, 53.00, 136.58°)
OKLaboklab(48.6% -0.1051 0.0837)
OKLCHoklch(48.6% 0.134 141.5)
XYZxyz(7.1341, 12.4116, 3.4583)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7121 #682171
analogous
#527121 #2A7121 #217140
triadic
#2A7121 #212A71 #71212A
tetradic
#2A7121 #215271 #682171 #714021
square
#2A7121 #215271 #682171 #714021
split-complementary
#2A7121 #402171 #712152
monochromatic
#091807 #184213 #2A7121 #3CA02F #53C844

Accessibility & contrast

On white

6.03
#2A7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7121
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7121#FFFFFF#000000##FFFFFF
##2A71211.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746616
Deuteranopia (green-blind)
#6B6128
Tritanopia (blue-blind)
#1F6D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7121;
/* rgb */ color: rgb(42, 113, 33);
/* oklch */ color: oklch(48.6% 0.134 141.5);
Tailwind
colors: {
  custom: {
    50: '#6d9a61',
    500: '#2a7121',
    950: '#000000',
  },
}
SCSS
$custom: #2a7121;
$custom-light: #6d9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7121",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 113.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.13432,
    "h": 141.5
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#2A7121
secondary
#9A49A5
accent
#4ADECD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A7121

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

Preview Lab → · Contrast checker → · Palette generator →

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