#2A7113#2A7113

#2A7113 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.143 H 139.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2A7113
RGBrgb(42, 113, 19)
HSLhsl(105, 71%, 26%)
HSVhsv(105, 83%, 44%)
CMYKcmyk(62.8%, 0%, 83.2%, 55.7%)
CIE-LABlab(41.77, -39.63, 41.77)
CIE-LCHlch(41.77, 57.58, 133.50°)
OKLaboklab(48.49% -0.109 0.0928)
OKLCHoklch(48.49% 0.143 139.6)
XYZxyz(6.9772, 12.3489, 2.6319)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7113 #5A1371
analogous
#597113 #2A7113 #13712B
triadic
#2A7113 #132A71 #71132A
tetradic
#2A7113 #135971 #5A1371 #712B13
square
#2A7113 #135971 #5A1371 #712B13
split-complementary
#2A7113 #2B1371 #711359
monochromatic
#0A1A04 #173D0A #2A7113 #3DA51C #51DA25

Accessibility & contrast

On white

6.05
#2A7113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A7113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7113
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7113#FFFFFF#000000##FFFFFF
##2A71131.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#216D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a7113;
/* rgb */ color: rgb(42, 113, 19);
/* oklch */ color: oklch(48.5% 0.143 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d9a5a',
    500: '#2a7113',
    950: '#000000',
  },
}
SCSS
$custom: #2a7113;
$custom-light: #6d9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7113",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 105.319,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.14315,
    "h": 139.6
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#2A7113
secondary
#8C38A8
accent
#3AEEC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7113

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

Preview Lab → · Contrast checker → · Palette generator →

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