#2A6A14#2A6A14

#2A6A14 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.134 H 139.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2A6A14
RGBrgb(42, 106, 20)
HSLhsl(105, 68%, 25%)
HSVhsv(105, 81%, 42%)
CMYKcmyk(60.4%, 0%, 81.1%, 58.4%)
CIE-LABlab(39.33, -36.83, 39.10)
CIE-LCHlch(39.33, 53.72, 133.28°)
OKLaboklab(46.48% -0.1014 0.0874)
OKLCHoklch(46.48% 0.134 139.3)
XYZxyz(6.2349, 10.8503, 2.4274)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A14 #54146A
analogous
#556A14 #2A6A14 #146A29
triadic
#2A6A14 #142A6A #6A142A
tetradic
#2A6A14 #14556A #54146A #6A2914
square
#2A6A14 #14556A #54146A #6A2914
split-complementary
#2A6A14 #29146A #6A1455
monochromatic
#0A1A05 #16370A #2A6A14 #3E9D1E #53D127

Accessibility & contrast

On white

6.62
#2A6A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A6A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6A14
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A14#FFFFFF#000000##FFFFFF
##2A6A141.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6001
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6a14;
/* rgb */ color: rgb(42, 106, 20);
/* oklch */ color: oklch(46.5% 0.134 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c9559',
    500: '#2a6a14',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a14;
$custom-light: #6c9559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a14",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 104.651,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.13386,
    "h": 139.3
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#2A6A14
secondary
#8639A1
accent
#3DEBBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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