#2A704B#2A704B

#2A704B is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.093 H 157.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2A704B
RGBrgb(42, 112, 75)
HSLhsl(148, 45%, 30%)
HSVhsv(148, 63%, 44%)
CMYKcmyk(62.5%, 0%, 33%, 56.1%)
CIE-LABlab(42.14, -31.29, 14.22)
CIE-LCHlch(42.14, 34.37, 155.57°)
OKLaboklab(49.03% -0.0853 0.036)
OKLCHoklch(49.03% 0.093 157.1)
XYZxyz(8.0183, 12.5878, 8.6624)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A704B #702A4F
analogous
#2C702A #2A704B #2A706E
triadic
#2A704B #4B2A70 #704B2A
tetradic
#2A704B #2A2C70 #702A4F #706E2A
square
#2A704B #2A2C70 #702A4F #706E2A
split-complementary
#2A704B #6E2A70 #702A2C
monochromatic
#09170F #19432D #2A704B #3B9D69 #55BF87

Accessibility & contrast

On white

5.97
#2A704B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2A704B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A704B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A704B#FFFFFF#000000##FFFFFF
##2A704B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6849
Deuteranopia (green-blind)
#66614D
Tritanopia (blue-blind)
#0D6F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a704b;
/* rgb */ color: rgb(42, 112, 75);
/* oklch */ color: oklch(49.0% 0.093 157.1);
Tailwind
colors: {
  custom: {
    50: '#6b9a7d',
    500: '#2a704b',
    950: '#000000',
  },
}
SCSS
$custom: #2a704b;
$custom-light: #6b9a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a704b",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 75
  },
  "hsl": {
    "h": 148.286,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.09253,
    "h": 157.1
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#2A704B
secondary
#A2547D
accent
#5398D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A704B

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

Preview Lab → · Contrast checker → · Palette generator →

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