#2A7E13#2A7E13

#2A7E13 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.159 H 140.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7E13
RGBrgb(42, 126, 19)
HSLhsl(107, 74%, 28%)
HSVhsv(107, 85%, 49%)
CMYKcmyk(66.7%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.26, -44.47, 45.94)
CIE-LCHlch(46.26, 63.94, 134.07°)
OKLaboklab(52.21% -0.122 0.1015)
OKLCHoklch(52.21% 0.159 140.2)
XYZxyz(8.5328, 15.4601, 3.1504)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E13 #67137E
analogous
#5F7E13 #2A7E13 #137E31
triadic
#2A7E13 #132A7E #7E132A
tetradic
#2A7E13 #135F7E #67137E #7E3113
square
#2A7E13 #135F7E #67137E #7E3113
split-complementary
#2A7E13 #31137E #7E135F
monochromatic
#091B04 #18490B #2A7E13 #3CB31B #53DF2C

Accessibility & contrast

On white

5.13
#2A7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E13
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E13#FFFFFF#000000##FFFFFF
##2A7E131.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#1C7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7e13;
/* rgb */ color: rgb(42, 126, 19);
/* oklch */ color: oklch(52.2% 0.159 140.2);
Tailwind
colors: {
  custom: {
    50: '#70a45c',
    500: '#2a7e13',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e13;
$custom-light: #70a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e13",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 107.103,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.15872,
    "h": 140.2
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#2A7E13
secondary
#9939B4
accent
#37F0C9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2A7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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