#2A6C14#2A6C14

#2A6C14 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.136 H 139.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6C14
RGBrgb(42, 108, 20)
HSLhsl(105, 69%, 25%)
HSVhsv(105, 81%, 42%)
CMYKcmyk(61.1%, 0%, 81.5%, 57.6%)
CIE-LABlab(40.03, -37.62, 39.78)
CIE-LCHlch(40.03, 54.75, 133.40°)
OKLaboklab(47.06% -0.1035 0.0888)
OKLCHoklch(47.06% 0.136 139.4)
XYZxyz(6.4434, 11.2673, 2.4969)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C14 #56146C
analogous
#566C14 #2A6C14 #146C2A
triadic
#2A6C14 #142A6C #6C142A
tetradic
#2A6C14 #14566C #56146C #6C2A14
square
#2A6C14 #14566C #56146C #6C2A14
split-complementary
#2A6C14 #2A146C #6C1456
monochromatic
#0A1A05 #16380A #2A6C14 #3EA01E #52D327

Accessibility & contrast

On white

6.45
#2A6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A6C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C14
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C14#FFFFFF#000000##FFFFFF
##2A6C141.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#22685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a6c14;
/* rgb */ color: rgb(42, 108, 20);
/* oklch */ color: oklch(47.1% 0.136 139.4);
Tailwind
colors: {
  custom: {
    50: '#6c9759',
    500: '#2a6c14',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c14;
$custom-light: #6c9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c14",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 105,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.13639,
    "h": 139.4
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#2A6C14
secondary
#8839A3
accent
#3CECC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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