#2A6A15#2A6A15

#2A6A15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.133 H 139.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2A6A15
RGBrgb(42, 106, 21)
HSLhsl(105, 67%, 25%)
HSVhsv(105, 80%, 42%)
CMYKcmyk(60.4%, 0%, 80.2%, 58.4%)
CIE-LABlab(39.33, -36.76, 38.75)
CIE-LCHlch(39.33, 53.41, 133.49°)
OKLaboklab(46.49% -0.1011 0.0868)
OKLCHoklch(46.49% 0.133 139.4)
XYZxyz(6.2440, 10.8539, 2.4753)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A15 #55156A
analogous
#556A15 #2A6A15 #156A2A
triadic
#2A6A15 #152A6A #6A152A
tetradic
#2A6A15 #15556A #55156A #6A2A15
square
#2A6A15 #15556A #55156A #6A2A15
split-complementary
#2A6A15 #2A156A #6A1555
monochromatic
#0A1A05 #16370B #2A6A15 #3E9D1F #52D029

Accessibility & contrast

On white

6.62
#2A6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6A15
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A15#FFFFFF#000000##FFFFFF
##2A6A151.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6a15;
/* rgb */ color: rgb(42, 106, 21);
/* oklch */ color: oklch(46.5% 0.133 139.4);
Tailwind
colors: {
  custom: {
    50: '#6c9559',
    500: '#2a6a15',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a15;
$custom-light: #6c9559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a15",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 105.176,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.13327,
    "h": 139.4
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#2A6A15
secondary
#873AA1
accent
#3EEABF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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