#2A6014#2A6014

#2A6014 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.6% C 0.121 H 138.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2A6014
RGBrgb(42, 96, 20)
HSLhsl(103, 66%, 23%)
HSVhsv(103, 79%, 38%)
CMYKcmyk(56.3%, 0%, 79.2%, 62.4%)
CIE-LABlab(35.81, -32.72, 35.66)
CIE-LCHlch(35.81, 48.39, 132.54°)
OKLaboklab(43.58% -0.0903 0.0802)
OKLCHoklch(43.58% 0.121 138.4)
XYZxyz(5.2638, 8.9081, 2.1037)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6014 #4A1460
analogous
#506014 #2A6014 #146024
triadic
#2A6014 #142A60 #60142A
tetradic
#2A6014 #145060 #4A1460 #602414
square
#2A6014 #145060 #4A1460 #602414
split-complementary
#2A6014 #241460 #601450
monochromatic
#0B1905 #142D09 #2A6014 #40931F #56C529

Accessibility & contrast

On white

7.55
#2A6014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A6014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6014
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6014#FFFFFF#000000##FFFFFF
##2A60141.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a6014;
/* rgb */ color: rgb(42, 96, 20);
/* oklch */ color: oklch(43.6% 0.121 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a8e57',
    500: '#2a6014',
    950: '#000000',
  },
}
SCSS
$custom: #2a6014;
$custom-light: #6a8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6014",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 102.632,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.12078,
    "h": 138.4
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#2A6014
secondary
#7C3898
accent
#3FE8B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6014

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

Preview Lab → · Contrast checker → · Palette generator →

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