#2A6013#2A6013

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

Color values

HEX#2A6013
RGBrgb(42, 96, 19)
HSLhsl(102, 67%, 23%)
HSVhsv(102, 80%, 38%)
CMYKcmyk(56.3%, 0%, 80.2%, 62.4%)
CIE-LABlab(35.80, -32.80, 36.04)
CIE-LCHlch(35.80, 48.73, 132.30°)
OKLaboklab(43.57% -0.0906 0.0808)
OKLCHoklch(43.57% 0.121 138.3)
XYZxyz(5.2551, 8.9046, 2.0578)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6013 #491360
analogous
#506013 #2A6013 #136022
triadic
#2A6013 #132A60 #60132A
tetradic
#2A6013 #135060 #491360 #602213
square
#2A6013 #135060 #491360 #602213
split-complementary
#2A6013 #221360 #601350
monochromatic
#0B1A05 #142D09 #2A6013 #40931D #57C627

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6013#FFFFFF#000000##FFFFFF
##2A60131.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)
#635704
Deuteranopia (green-blind)
#5C531B
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a6013;
/* rgb */ color: rgb(42, 96, 19);
/* oklch */ color: oklch(43.6% 0.121 138.3);
Tailwind
colors: {
  custom: {
    50: '#6a8e57',
    500: '#2a6013',
    950: '#000000',
  },
}
SCSS
$custom: #2a6013;
$custom-light: #6a8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6013",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 102.078,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.12141,
    "h": 138.3
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#2A6013
secondary
#7B3798
accent
#3EEAB7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6013

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

Preview Lab → · Contrast checker → · Palette generator →

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