#2A7C41#2A7C41

#2A7C41 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.121 H 149.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2A7C41
RGBrgb(42, 124, 65)
HSLhsl(137, 49%, 33%)
HSVhsv(137, 66%, 49%)
CMYKcmyk(66.1%, 0%, 47.6%, 51.4%)
CIE-LABlab(46.03, -38.49, 25.07)
CIE-LCHlch(46.03, 45.93, 146.92°)
OKLaboklab(52.17% -0.1039 0.0614)
OKLCHoklch(52.17% 0.121 149.4)
XYZxyz(9.1159, 15.2883, 7.4705)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C41 #7C2A65
analogous
#3C7C2A #2A7C41 #2A7C6A
triadic
#2A7C41 #412A7C #7C412A
tetradic
#2A7C41 #2A3C7C #7C2A65 #7C6A2A
square
#2A7C41 #2A3C7C #7C2A65 #7C6A2A
split-complementary
#2A7C41 #6A2A7C #7C2A3C
monochromatic
#0B2111 #1B4E29 #2A7C41 #39AA59 #59C778

Accessibility & contrast

On white

5.18
#2A7C41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A7C41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C41
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C41#FFFFFF#000000##FFFFFF
##2A7C411.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713C
Deuteranopia (green-blind)
#736A45
Tritanopia (blue-blind)
#0D7A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7c41;
/* rgb */ color: rgb(42, 124, 65);
/* oklch */ color: oklch(52.2% 0.121 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ea376',
    500: '#2a7c41',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c41;
$custom-light: #6ea376;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c41",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 65
  },
  "hsl": {
    "h": 136.829,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.12066,
    "h": 149.4
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#2A7C41
secondary
#AD5594
accent
#4FB2D9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #2A7C41

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

Preview Lab → · Contrast checker → · Palette generator →

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