#2A7511#2A7511

#2A7511 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.149 H 139.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A7511
RGBrgb(42, 117, 17)
HSLhsl(105, 75%, 26%)
HSVhsv(105, 85%, 46%)
CMYKcmyk(64.1%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.14, -41.27, 43.67)
CIE-LCHlch(43.14, 60.08, 133.38°)
OKLaboklab(49.63% -0.1135 0.0965)
OKLCHoklch(49.63% 0.149 139.6)
XYZxyz(7.4170, 13.2546, 2.6977)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7511 #5C1175
analogous
#5C7511 #2A7511 #11752A
triadic
#2A7511 #112A75 #75112A
tetradic
#2A7511 #115C75 #5C1175 #752A11
square
#2A7511 #115C75 #5C1175 #752A11
split-complementary
#2A7511 #2A1175 #75115C
monochromatic
#0A1B04 #174009 #2A7511 #3DAA19 #51DF22

Accessibility & contrast

On white

5.75
#2A7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7511
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7511#FFFFFF#000000##FFFFFF
##2A75111.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6F641E
Tritanopia (blue-blind)
#207163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7511;
/* rgb */ color: rgb(42, 117, 17);
/* oklch */ color: oklch(49.6% 0.149 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e9d59',
    500: '#2a7511',
    950: '#000000',
  },
}
SCSS
$custom: #2a7511;
$custom-light: #6e9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7511",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 105,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.14895,
    "h": 139.6
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#2A7511
secondary
#8E36AC
accent
#37F1C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7511

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

Preview Lab → · Contrast checker → · Palette generator →

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