#2A7D33#2A7D33

#2A7D33 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.135 H 145.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A7D33
RGBrgb(42, 125, 51)
HSLhsl(127, 50%, 33%)
HSVhsv(127, 66%, 49%)
CMYKcmyk(66.4%, 0%, 59.2%, 51%)
CIE-LABlab(46.17, -41.07, 32.66)
CIE-LCHlch(46.17, 52.47, 141.50°)
OKLaboklab(52.23% -0.1111 0.0775)
OKLCHoklch(52.23% 0.135 145.1)
XYZxyz(8.8854, 15.3976, 5.6351)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D33 #7D2A74
analogous
#4A7D2A #2A7D33 #2A7D5C
triadic
#2A7D33 #332A7D #7D332A
tetradic
#2A7D33 #2A4A7D #7D2A74 #7D5C2A
square
#2A7D33 #2A4A7D #7D2A74 #7D5C2A
split-complementary
#2A7D33 #5C2A7D #7D2A4A
monochromatic
#0B210E #1B4F20 #2A7D33 #39AB46 #5AC866

Accessibility & contrast

On white

5.15
#2A7D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7D33
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D33#FFFFFF#000000##FFFFFF
##2A7D331.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722C
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#157A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7d33;
/* rgb */ color: rgb(42, 125, 51);
/* oklch */ color: oklch(52.2% 0.135 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ea36d',
    500: '#2a7d33',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d33;
$custom-light: #6ea36d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d33",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 126.506,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.13548,
    "h": 145.1
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#2A7D33
secondary
#AD56A4
accent
#4FCAD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A7D33

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

Preview Lab → · Contrast checker → · Palette generator →

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