#2A7243#2A7243

#2A7243 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.104 H 152.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2A7243
RGBrgb(42, 114, 67)
HSLhsl(141, 46%, 31%)
HSVhsv(141, 63%, 45%)
CMYKcmyk(63.2%, 0%, 41.2%, 55.3%)
CIE-LABlab(42.66, -33.86, 19.58)
CIE-LCHlch(42.66, 39.11, 149.97°)
OKLaboklab(49.41% -0.0916 0.0487)
OKLCHoklch(49.41% 0.104 152)
XYZxyz(7.9847, 12.9313, 7.3843)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7243 #722A59
analogous
#35722A #2A7243 #2A7267
triadic
#2A7243 #432A72 #72432A
tetradic
#2A7243 #2A3572 #722A59 #72672A
square
#2A7243 #2A3572 #722A59 #72672A
split-complementary
#2A7243 #672A72 #722A35
monochromatic
#09190E #1A4529 #2A7243 #3A9F5D #56C17B

Accessibility & contrast

On white

5.86
#2A7243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A7243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7243
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7243#FFFFFF#000000##FFFFFF
##2A72431.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#696246
Tritanopia (blue-blind)
#127066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7243;
/* rgb */ color: rgb(42, 114, 67);
/* oklch */ color: oklch(49.4% 0.104 152.0);
Tailwind
colors: {
  custom: {
    50: '#6c9b77',
    500: '#2a7243',
    950: '#000000',
  },
}
SCSS
$custom: #2a7243;
$custom-light: #6c9b77;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7243",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 67
  },
  "hsl": {
    "h": 140.833,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.10378,
    "h": 152
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#2A7243
secondary
#A45488
accent
#52A8D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7243

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

Preview Lab → · Contrast checker → · Palette generator →

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