#2A7E11#2A7E11

#2A7E11 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.160 H 140.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7E11
RGBrgb(42, 126, 17)
HSLhsl(106, 76%, 28%)
HSVhsv(106, 87%, 49%)
CMYKcmyk(66.7%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.25, -44.58, 46.49)
CIE-LCHlch(46.25, 64.41, 133.79°)
OKLaboklab(52.2% -0.1224 0.1024)
OKLCHoklch(52.2% 0.16 140.1)
XYZxyz(8.5165, 15.4536, 3.0642)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E11 #65117E
analogous
#607E11 #2A7E11 #117E2F
triadic
#2A7E11 #112A7E #7E112A
tetradic
#2A7E11 #11607E #65117E #7E2F11
square
#2A7E11 #11607E #65117E #7E2F11
split-complementary
#2A7E11 #2F117E #7E1160
monochromatic
#091B04 #18480A #2A7E11 #3CB418 #52E227

Accessibility & contrast

On white

5.13
#2A7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E11
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E11#FFFFFF#000000##FFFFFF
##2A7E111.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#1D7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7e11;
/* rgb */ color: rgb(42, 126, 17);
/* oklch */ color: oklch(52.2% 0.160 140.1);
Tailwind
colors: {
  custom: {
    50: '#70a45b',
    500: '#2a7e11',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e11;
$custom-light: #70a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e11",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 106.239,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.15956,
    "h": 140.1
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#2A7E11
secondary
#9737B4
accent
#35F3C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2A7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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