#2A7C43#2A7C43

#2A7C43 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.119 H 150.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A7C43
RGBrgb(42, 124, 67)
HSLhsl(138, 49%, 33%)
HSVhsv(138, 66%, 49%)
CMYKcmyk(66.1%, 0%, 46%, 51.4%)
CIE-LABlab(46.06, -38.13, 24.00)
CIE-LCHlch(46.06, 45.05, 147.81°)
OKLaboklab(52.2% -0.1029 0.059)
OKLCHoklch(52.2% 0.119 150.2)
XYZxyz(9.1749, 15.3119, 7.7811)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C43 #7C2A63
analogous
#3A7C2A #2A7C43 #2A7C6C
triadic
#2A7C43 #432A7C #7C432A
tetradic
#2A7C43 #2A3A7C #7C2A63 #7C6C2A
square
#2A7C43 #2A3A7C #7C2A63 #7C6C2A
split-complementary
#2A7C43 #6C2A7C #7C2A3A
monochromatic
#0B2112 #1B4E2A #2A7C43 #39AA5C #59C77B

Accessibility & contrast

On white

5.17
#2A7C43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7C43
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C43#FFFFFF#000000##FFFFFF
##2A7C431.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723F
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#0C7A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7c43;
/* rgb */ color: rgb(42, 124, 67);
/* oklch */ color: oklch(52.2% 0.119 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ea378',
    500: '#2a7c43',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c43;
$custom-light: #6ea378;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c43",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 67
  },
  "hsl": {
    "h": 138.293,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.11865,
    "h": 150.2
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#2A7C43
secondary
#AD5592
accent
#4FAFD9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7C43

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

Preview Lab → · Contrast checker → · Palette generator →

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