#2A6E14#2A6E14

#2A6E14 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.139 H 139.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6E14
RGBrgb(42, 110, 20)
HSLhsl(105, 69%, 25%)
HSVhsv(105, 82%, 43%)
CMYKcmyk(61.8%, 0%, 81.8%, 56.9%)
CIE-LABlab(40.73, -38.41, 40.45)
CIE-LCHlch(40.73, 55.78, 133.52°)
OKLaboklab(47.63% -0.1056 0.0902)
OKLCHoklch(47.63% 0.139 139.5)
XYZxyz(6.6568, 11.6940, 2.5681)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E14 #58146E
analogous
#576E14 #2A6E14 #146E2B
triadic
#2A6E14 #142A6E #6E142A
tetradic
#2A6E14 #14576E #58146E #6E2B14
square
#2A6E14 #14576E #58146E #6E2B14
split-complementary
#2A6E14 #2B146E #6E1457
monochromatic
#0A1A05 #163A0B #2A6E14 #3EA21D #52D627

Accessibility & contrast

On white

6.29
#2A6E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E14
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E14#FFFFFF#000000##FFFFFF
##2A6E141.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#226A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e14;
/* rgb */ color: rgb(42, 110, 20);
/* oklch */ color: oklch(47.6% 0.139 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d985a',
    500: '#2a6e14',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e14;
$custom-light: #6d985a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e14",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 20
  },
  "hsl": {
    "h": 105.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.1389,
    "h": 139.5
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#2A6E14
secondary
#8A39A5
accent
#3CECC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6E14

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

Preview Lab → · Contrast checker → · Palette generator →

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