#2A754E#2A754E

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

Color values

HEX#2A754E
RGBrgb(42, 117, 78)
HSLhsl(149, 47%, 31%)
HSVhsv(149, 64%, 46%)
CMYKcmyk(64.1%, 0%, 33.3%, 54.1%)
CIE-LABlab(43.89, -32.90, 14.85)
CIE-LCHlch(43.89, 36.10, 155.70°)
OKLaboklab(50.49% -0.0896 0.0376)
OKLCHoklch(50.49% 0.097 157.2)
XYZxyz(8.6905, 13.7640, 9.4050)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A754E #752A51
analogous
#2B752A #2A754E #2A7573
triadic
#2A754E #4E2A75 #754E2A
tetradic
#2A754E #2A2B75 #752A51 #75732A
square
#2A754E #2A2B75 #752A51 #75732A
split-complementary
#2A754E #732A75 #752A2B
monochromatic
#0A1B12 #1A4830 #2A754E #3AA26C #57C38B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A754E#FFFFFF#000000##FFFFFF
##2A754E1.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)
#746C4C
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#06746B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a754e;
/* rgb */ color: rgb(42, 117, 78);
/* oklch */ color: oklch(50.5% 0.097 157.2);
Tailwind
colors: {
  custom: {
    50: '#6c9d7f',
    500: '#2a754e',
    950: '#000000',
  },
}
SCSS
$custom: #2a754e;
$custom-light: #6c9d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a754e",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 78
  },
  "hsl": {
    "h": 148.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.09713,
    "h": 157.2
  },
  "luminance": 0.13765
}

Semantic roles & 50–950 ramp

primary
#2A754E
secondary
#A7547F
accent
#5197D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A754E

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

Preview Lab → · Contrast checker → · Palette generator →

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