#2A7411#2A7411

#2A7411 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.148 H 139.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2A7411
RGBrgb(42, 116, 17)
HSLhsl(105, 74%, 26%)
HSVhsv(105, 85%, 45%)
CMYKcmyk(63.8%, 0%, 85.3%, 54.5%)
CIE-LABlab(42.80, -40.89, 43.35)
CIE-LCHlch(42.80, 59.59, 133.33°)
OKLaboklab(49.34% -0.1125 0.0958)
OKLCHoklch(49.34% 0.148 139.6)
XYZxyz(7.3011, 13.0228, 2.6591)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7411 #5B1174
analogous
#5B7411 #2A7411 #117429
triadic
#2A7411 #112A74 #74112A
tetradic
#2A7411 #115B74 #5B1174 #742911
square
#2A7411 #115B74 #5B1174 #742911
split-complementary
#2A7411 #291174 #74115B
monochromatic
#0A1B04 #173F09 #2A7411 #3DA919 #51DE21

Accessibility & contrast

On white

5.83
#2A7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2A7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7411
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7411#FFFFFF#000000##FFFFFF
##2A74111.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#207062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7411;
/* rgb */ color: rgb(42, 116, 17);
/* oklch */ color: oklch(49.3% 0.148 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e9d59',
    500: '#2a7411',
    950: '#000000',
  },
}
SCSS
$custom: #2a7411;
$custom-light: #6e9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7411",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 104.848,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.14775,
    "h": 139.6
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#2A7411
secondary
#8D36AB
accent
#37F1C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7411

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

Preview Lab → · Contrast checker → · Palette generator →

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