#2A8013#2A8013

#2A8013 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.161 H 140.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2A8013
RGBrgb(42, 128, 19)
HSLhsl(107, 74%, 29%)
HSVhsv(107, 85%, 50%)
CMYKcmyk(67.2%, 0%, 85.2%, 49.8%)
CIE-LABlab(46.94, -45.19, 46.57)
CIE-LCHlch(46.94, 64.89, 134.14°)
OKLaboklab(52.78% -0.1239 0.1028)
OKLCHoklch(52.78% 0.161 140.3)
XYZxyz(8.7911, 15.9767, 3.2365)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8013 #691380
analogous
#618013 #2A8013 #138032
triadic
#2A8013 #132A80 #80132A
tetradic
#2A8013 #136180 #691380 #803213
square
#2A8013 #136180 #691380 #803213
split-complementary
#2A8013 #321380 #801361
monochromatic
#091B04 #194B0B #2A8013 #3BB51B #53E02D

Accessibility & contrast

On white

5.01
#2A8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A8013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8013
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8013#FFFFFF#000000##FFFFFF
##2A80131.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#1C7C6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a8013;
/* rgb */ color: rgb(42, 128, 19);
/* oklch */ color: oklch(52.8% 0.161 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a65c',
    500: '#2a8013',
    950: '#000000',
  },
}
SCSS
$custom: #2a8013;
$custom-light: #71a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8013",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 107.339,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.16105,
    "h": 140.3
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#2A8013
secondary
#9B39B5
accent
#37F1CA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2A8013

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

Preview Lab → · Contrast checker → · Palette generator →

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