#2A711C#2A711C

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

Color values

HEX#2A711C
RGBrgb(42, 113, 28)
HSLhsl(110, 60%, 28%)
HSVhsv(110, 75%, 44%)
CMYKcmyk(62.8%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.82, -38.96, 38.52)
CIE-LCHlch(41.82, 54.79, 135.33°)
OKLaboklab(48.56% -0.1067 0.0874)
OKLCHoklch(48.56% 0.138 140.7)
XYZxyz(7.0692, 12.3857, 3.1165)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A711C #631C71
analogous
#54711C #2A711C #1C7139
triadic
#2A711C #1C2A71 #711C2A
tetradic
#2A711C #1C5471 #631C71 #71391C
square
#2A711C #1C5471 #631C71 #71391C
split-complementary
#2A711C #391C71 #711C54
monochromatic
#091906 #184010 #2A711C #3CA228 #52CE39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A711C#FFFFFF#000000##FFFFFF
##2A711C1.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)
#74660D
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a711c;
/* rgb */ color: rgb(42, 113, 28);
/* oklch */ color: oklch(48.6% 0.138 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9a5e',
    500: '#2a711c',
    950: '#000000',
  },
}
SCSS
$custom: #2a711c;
$custom-light: #6d9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a711c",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 110.118,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.13787,
    "h": 140.7
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#2A711C
secondary
#9543A6
accent
#44E3C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A711C

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

Preview Lab → · Contrast checker → · Palette generator →

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