#2A7013#2A7013

#2A7013 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.142 H 139.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7013
RGBrgb(42, 112, 19)
HSLhsl(105, 71%, 26%)
HSVhsv(105, 83%, 44%)
CMYKcmyk(62.5%, 0%, 83%, 56.1%)
CIE-LABlab(41.42, -39.25, 41.44)
CIE-LCHlch(41.42, 57.08, 133.44°)
OKLaboklab(48.2% -0.108 0.0921)
OKLCHoklch(48.2% 0.142 139.5)
XYZxyz(6.8663, 12.1270, 2.5949)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7013 #591370
analogous
#587013 #2A7013 #13702A
triadic
#2A7013 #132A70 #70132A
tetradic
#2A7013 #135870 #591370 #702A13
square
#2A7013 #135870 #591370 #702A13
split-complementary
#2A7013 #2A1370 #701358
monochromatic
#0A1A04 #163C0A #2A7013 #3EA41C #51D925

Accessibility & contrast

On white

6.13
#2A7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7013
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7013#FFFFFF#000000##FFFFFF
##2A70131.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#216C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a7013;
/* rgb */ color: rgb(42, 112, 19);
/* oklch */ color: oklch(48.2% 0.142 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d9a59',
    500: '#2a7013',
    950: '#000000',
  },
}
SCSS
$custom: #2a7013;
$custom-light: #6d9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7013",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 105.161,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.14192,
    "h": 139.5
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#2A7013
secondary
#8B38A7
accent
#3AEEC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A7013

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

Preview Lab → · Contrast checker → · Palette generator →

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