#2A7E53#2A7E53

#2A7E53 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.1% C 0.106 H 157.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A7E53
RGBrgb(42, 126, 83)
HSLhsl(149, 50%, 33%)
HSVhsv(149, 67%, 49%)
CMYKcmyk(66.7%, 0%, 34.1%, 50.6%)
CIE-LABlab(47.02, -35.80, 16.22)
CIE-LCHlch(47.02, 39.30, 155.63°)
OKLaboklab(53.09% -0.0973 0.041)
OKLCHoklch(53.09% 0.106 157.2)
XYZxyz(9.9761, 16.0374, 10.7517)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E53 #7E2A55
analogous
#2B7E2A #2A7E53 #2A7E7D
triadic
#2A7E53 #532A7E #7E532A
tetradic
#2A7E53 #2A2B7E #7E2A55 #7E7D2A
square
#2A7E53 #2A2B7E #7E2A55 #7E7D2A
split-complementary
#2A7E53 #7D2A7E #7E2A2B
monochromatic
#0B2217 #1B5035 #2A7E53 #39AC71 #5AC890

Accessibility & contrast

On white

4.99
#2A7E53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A7E53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E53
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E53#FFFFFF#000000##FFFFFF
##2A7E531.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7450
Deuteranopia (green-blind)
#726C56
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7e53;
/* rgb */ color: rgb(42, 126, 83);
/* oklch */ color: oklch(53.1% 0.106 157.2);
Tailwind
colors: {
  custom: {
    50: '#6ea483',
    500: '#2a7e53',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e53;
$custom-light: #6ea483;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e53",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 83
  },
  "hsl": {
    "h": 149.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.10556,
    "h": 157.2
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#2A7E53
secondary
#AE5683
accent
#4E96DA
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7E53

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

Preview Lab → · Contrast checker → · Palette generator →

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