#2A754F#2A754F

#2A754F is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.096 H 157.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2A754F
RGBrgb(42, 117, 79)
HSLhsl(150, 47%, 31%)
HSVhsv(150, 64%, 46%)
CMYKcmyk(64.1%, 0%, 32.5%, 54.1%)
CIE-LABlab(43.91, -32.68, 14.30)
CIE-LCHlch(43.91, 35.67, 156.37°)
OKLaboklab(50.51% -0.0891 0.0362)
OKLCHoklch(50.51% 0.096 157.9)
XYZxyz(8.7266, 13.7785, 9.5952)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A754F #752A50
analogous
#2A752A #2A754F #2A7574
triadic
#2A754F #4F2A75 #754F2A
tetradic
#2A754F #2A2A75 #752A50 #75742A
square
#2A754F #2A2A75 #752A50 #75742A
split-complementary
#2A754F #742A75 #752A2A
monochromatic
#0A1B12 #1A4831 #2A754F #3AA26D #57C38C

Accessibility & contrast

On white

5.59
#2A754F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2A754F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A754F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A754F#FFFFFF#000000##FFFFFF
##2A754F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C4D
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#05746B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a754f;
/* rgb */ color: rgb(42, 117, 79);
/* oklch */ color: oklch(50.5% 0.096 157.9);
Tailwind
colors: {
  custom: {
    50: '#6c9d80',
    500: '#2a754f',
    950: '#000000',
  },
}
SCSS
$custom: #2a754f;
$custom-light: #6c9d80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a754f",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 79
  },
  "hsl": {
    "h": 149.6,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.09614,
    "h": 157.9
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#2A754F
secondary
#A7547E
accent
#5195D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A754F

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

Preview Lab → · Contrast checker → · Palette generator →

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