#2A6015#2A6015

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

Color values

HEX#2A6015
RGBrgb(42, 96, 21)
HSLhsl(103, 64%, 23%)
HSVhsv(103, 78%, 38%)
CMYKcmyk(56.3%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.81, -32.64, 35.26)
CIE-LCHlch(35.81, 48.05, 132.79°)
OKLaboklab(43.58% -0.0901 0.0795)
OKLCHoklch(43.58% 0.12 138.6)
XYZxyz(5.2729, 8.9117, 2.1516)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6015 #4B1560
analogous
#4F6015 #2A6015 #156025
triadic
#2A6015 #152A60 #60152A
tetradic
#2A6015 #154F60 #4B1560 #602515
square
#2A6015 #154F60 #4B1560 #602515
split-complementary
#2A6015 #251560 #60154F
monochromatic
#0B1905 #142E0A #2A6015 #409220 #56C42B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6015#FFFFFF#000000##FFFFFF
##2A60151.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)
#635707
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a6015;
/* rgb */ color: rgb(42, 96, 21);
/* oklch */ color: oklch(43.6% 0.120 138.6);
Tailwind
colors: {
  custom: {
    50: '#6a8e58',
    500: '#2a6015',
    950: '#000000',
  },
}
SCSS
$custom: #2a6015;
$custom-light: #6a8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6015",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 103.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.12014,
    "h": 138.6
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#2A6015
secondary
#7D3A97
accent
#41E7B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6015

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

Preview Lab → · Contrast checker → · Palette generator →

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