#2A7247#2A7247

#2A7247 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.100 H 154.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2A7247
RGBrgb(42, 114, 71)
HSLhsl(144, 46%, 31%)
HSVhsv(144, 63%, 45%)
CMYKcmyk(63.2%, 0%, 37.7%, 55.3%)
CIE-LABlab(42.73, -33.05, 17.37)
CIE-LCHlch(42.73, 37.34, 152.28°)
OKLaboklab(49.49% -0.0896 0.0436)
OKLCHoklch(49.49% 0.1 154.1)
XYZxyz(8.1088, 12.9810, 8.0383)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7247 #722A55
analogous
#31722A #2A7247 #2A726B
triadic
#2A7247 #472A72 #72472A
tetradic
#2A7247 #2A3172 #722A55 #726B2A
square
#2A7247 #2A3172 #722A55 #726B2A
split-complementary
#2A7247 #6B2A72 #722A31
monochromatic
#09190F #1A452B #2A7247 #3A9F63 #56C181

Accessibility & contrast

On white

5.84
#2A7247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2A7247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7247
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7247#FFFFFF#000000##FFFFFF
##2A72471.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726944
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#0F7167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7247;
/* rgb */ color: rgb(42, 114, 71);
/* oklch */ color: oklch(49.5% 0.100 154.1);
Tailwind
colors: {
  custom: {
    50: '#6b9b7a',
    500: '#2a7247',
    950: '#000000',
  },
}
SCSS
$custom: #2a7247;
$custom-light: #6b9b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7247",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 71
  },
  "hsl": {
    "h": 144.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.09965,
    "h": 154.1
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#2A7247
secondary
#A45484
accent
#52A1D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A7247

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

Preview Lab → · Contrast checker → · Palette generator →

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