#2A7D35#2A7D35

#2A7D35 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.134 H 145.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A7D35
RGBrgb(42, 125, 53)
HSLhsl(128, 50%, 33%)
HSVhsv(128, 66%, 49%)
CMYKcmyk(66.4%, 0%, 57.6%, 51%)
CIE-LABlab(46.20, -40.79, 31.67)
CIE-LCHlch(46.20, 51.64, 142.17°)
OKLaboklab(52.25% -0.1103 0.0755)
OKLCHoklch(52.25% 0.134 145.6)
XYZxyz(8.9305, 15.4156, 5.8723)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D35 #7D2A72
analogous
#487D2A #2A7D35 #2A7D5F
triadic
#2A7D35 #352A7D #7D352A
tetradic
#2A7D35 #2A487D #7D2A72 #7D5F2A
square
#2A7D35 #2A487D #7D2A72 #7D5F2A
split-complementary
#2A7D35 #5F2A7D #7D2A48
monochromatic
#0B210E #1B4F22 #2A7D35 #39AB48 #5AC868

Accessibility & contrast

On white

5.14
#2A7D35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A7D35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D35
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D35#FFFFFF#000000##FFFFFF
##2A7D351.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722E
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#147A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7d35;
/* rgb */ color: rgb(42, 125, 53);
/* oklch */ color: oklch(52.3% 0.134 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ea36e',
    500: '#2a7d35',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d35;
$custom-light: #6ea36e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d35",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 127.952,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.13366,
    "h": 145.6
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#2A7D35
secondary
#AD56A2
accent
#4FC7D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A7D35

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

Preview Lab → · Contrast checker → · Palette generator →

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