#2A7F53#2A7F53

#2A7F53 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.107 H 156.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A7F53
RGBrgb(42, 127, 83)
HSLhsl(149, 50%, 33%)
HSVhsv(149, 67%, 50%)
CMYKcmyk(66.9%, 0%, 34.6%, 50.2%)
CIE-LABlab(47.36, -36.23, 16.67)
CIE-LCHlch(47.36, 39.89, 155.29°)
OKLaboklab(53.37% -0.0984 0.042)
OKLCHoklch(53.37% 0.107 156.9)
XYZxyz(10.1046, 16.2945, 10.7946)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F53 #7F2A56
analogous
#2B7F2A #2A7F53 #2A7F7D
triadic
#2A7F53 #532A7F #7F532A
tetradic
#2A7F53 #2A2B7F #7F2A56 #7F7D2A
square
#2A7F53 #2A2B7F #7F2A56 #7F7D2A
split-complementary
#2A7F53 #7D2A7F #7F2A2B
monochromatic
#0C2317 #1B5135 #2A7F53 #39AD71 #5BC990

Accessibility & contrast

On white

4.93
#2A7F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A7F53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F53
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F53#FFFFFF#000000##FFFFFF
##2A7F531.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7550
Deuteranopia (green-blind)
#736D56
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7f53;
/* rgb */ color: rgb(42, 127, 83);
/* oklch */ color: oklch(53.4% 0.107 156.9);
Tailwind
colors: {
  custom: {
    50: '#6ea583',
    500: '#2a7f53',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f53;
$custom-light: #6ea583;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f53",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 83
  },
  "hsl": {
    "h": 148.941,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.10702,
    "h": 156.9
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#2A7F53
secondary
#AE5784
accent
#4E96DA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A7F53

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

Preview Lab → · Contrast checker → · Palette generator →

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