#2A7535#2A7535

#2A7535 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.122 H 146.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7535
RGBrgb(42, 117, 53)
HSLhsl(129, 47%, 31%)
HSVhsv(129, 64%, 46%)
CMYKcmyk(64.1%, 0%, 54.7%, 54.1%)
CIE-LABlab(43.46, -37.57, 28.38)
CIE-LCHlch(43.46, 47.09, 142.94°)
OKLaboklab(50% -0.1016 0.0682)
OKLCHoklch(50% 0.122 146.1)
XYZxyz(7.9582, 13.4711, 5.5483)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7535 #752A6A
analogous
#44752A #2A7535 #2A755A
triadic
#2A7535 #352A75 #75352A
tetradic
#2A7535 #2A4475 #752A6A #755A2A
square
#2A7535 #2A4475 #752A6A #755A2A
split-complementary
#2A7535 #5A2A75 #752A44
monochromatic
#0A1B0C #1A4821 #2A7535 #3AA249 #57C367

Accessibility & contrast

On white

5.68
#2A7535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2A7535 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7535
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7535#FFFFFF#000000##FFFFFF
##2A75351.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2F
Deuteranopia (green-blind)
#6D643A
Tritanopia (blue-blind)
#187266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7535;
/* rgb */ color: rgb(42, 117, 53);
/* oklch */ color: oklch(50.0% 0.122 146.1);
Tailwind
colors: {
  custom: {
    50: '#6d9d6e',
    500: '#2a7535',
    950: '#000000',
  },
}
SCSS
$custom: #2a7535;
$custom-light: #6d9d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7535",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 53
  },
  "hsl": {
    "h": 128.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.12241,
    "h": 146.1
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#2A7535
secondary
#A7549B
accent
#51C3D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2A7535

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

Preview Lab → · Contrast checker → · Palette generator →

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