#2A711E#2A711E

#2A711E is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.137 H 141.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2A711E
RGBrgb(42, 113, 30)
HSLhsl(111, 58%, 28%)
HSVhsv(111, 73%, 44%)
CMYKcmyk(62.8%, 0%, 73.5%, 55.7%)
CIE-LABlab(41.84, -38.78, 37.70)
CIE-LCHlch(41.84, 54.09, 135.81°)
OKLaboklab(48.58% -0.1061 0.0859)
OKLCHoklch(48.58% 0.137 141)
XYZxyz(7.0940, 12.3956, 3.2468)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A711E #651E71
analogous
#53711E #2A711E #1E713B
triadic
#2A711E #1E2A71 #711E2A
tetradic
#2A711E #1E5371 #651E71 #713B1E
square
#2A711E #1E5371 #651E71 #713B1E
split-complementary
#2A711E #3B1E71 #711E53
monochromatic
#091806 #184111 #2A711E #3CA12B #52CC3E

Accessibility & contrast

On white

6.04
#2A711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A711E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A711E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A711E#FFFFFF#000000##FFFFFF
##2A711E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746611
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a711e;
/* rgb */ color: rgb(42, 113, 30);
/* oklch */ color: oklch(48.6% 0.137 141.0);
Tailwind
colors: {
  custom: {
    50: '#6d9a5f',
    500: '#2a711e',
    950: '#000000',
  },
}
SCSS
$custom: #2a711e;
$custom-light: #6d9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a711e",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 111.325,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.1365,
    "h": 141
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#2A711E
secondary
#9746A5
accent
#47E1CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A711E

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

Preview Lab → · Contrast checker → · Palette generator →

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