#2A754D#2A754D

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

Color values

HEX#2A754D
RGBrgb(42, 117, 77)
HSLhsl(148, 47%, 31%)
HSVhsv(148, 64%, 46%)
CMYKcmyk(64.1%, 0%, 34.2%, 54.1%)
CIE-LABlab(43.87, -33.12, 15.41)
CIE-LCHlch(43.87, 36.53, 155.05°)
OKLaboklab(50.47% -0.0901 0.0389)
OKLCHoklch(50.47% 0.098 156.6)
XYZxyz(8.6549, 13.7498, 9.2176)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A754D #752A52
analogous
#2C752A #2A754D #2A7572
triadic
#2A754D #4D2A75 #754D2A
tetradic
#2A754D #2A2C75 #752A52 #75722A
square
#2A754D #2A2C75 #752A52 #75722A
split-complementary
#2A754D #722A75 #752A2C
monochromatic
#0A1B12 #1A482F #2A754D #3AA26B #57C389

Accessibility & contrast

On white

5.60
#2A754D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2A754D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A754D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A754D#FFFFFF#000000##FFFFFF
##2A754D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C4B
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#07746B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a754d;
/* rgb */ color: rgb(42, 117, 77);
/* oklch */ color: oklch(50.5% 0.098 156.6);
Tailwind
colors: {
  custom: {
    50: '#6c9d7f',
    500: '#2a754d',
    950: '#000000',
  },
}
SCSS
$custom: #2a754d;
$custom-light: #6c9d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a754d",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 77
  },
  "hsl": {
    "h": 148,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.09812,
    "h": 156.6
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#2A754D
secondary
#A75480
accent
#5198D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A754D

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

Preview Lab → · Contrast checker → · Palette generator →

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