#2A7124#2A7124

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

Color values

HEX#2A7124
RGBrgb(42, 113, 36)
HSLhsl(115, 52%, 29%)
HSVhsv(115, 68%, 44%)
CMYKcmyk(62.8%, 0%, 68.1%, 55.7%)
CIE-LABlab(41.89, -38.18, 35.09)
CIE-LCHlch(41.89, 51.86, 137.42°)
OKLaboklab(48.64% -0.1041 0.0812)
OKLCHoklch(48.64% 0.132 142)
XYZxyz(7.1780, 12.4292, 3.6895)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7124 #6B2471
analogous
#517124 #2A7124 #247145
triadic
#2A7124 #242A71 #71242A
tetradic
#2A7124 #245171 #6B2471 #714524
square
#2A7124 #245171 #6B2471 #714524
split-complementary
#2A7124 #452471 #712451
monochromatic
#091707 #194315 #2A7124 #3B9F33 #54C54A

Accessibility & contrast

On white

6.02
#2A7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2A7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7124
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7124#FFFFFF#000000##FFFFFF
##2A71241.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74661A
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#1E6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7124;
/* rgb */ color: rgb(42, 113, 36);
/* oklch */ color: oklch(48.6% 0.132 142.0);
Tailwind
colors: {
  custom: {
    50: '#6d9a62',
    500: '#2a7124',
    950: '#000000',
  },
}
SCSS
$custom: #2a7124;
$custom-light: #6d9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7124",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 115.325,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.132,
    "h": 142
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#2A7124
secondary
#9D4DA4
accent
#4DDBD0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #2A7124

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

Preview Lab → · Contrast checker → · Palette generator →

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