#2A6C15#2A6C15

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

Color values

HEX#2A6C15
RGBrgb(42, 108, 21)
HSLhsl(106, 67%, 25%)
HSVhsv(106, 81%, 42%)
CMYKcmyk(61.1%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.03, -37.55, 39.43)
CIE-LCHlch(40.03, 54.45, 133.60°)
OKLaboklab(47.06% -0.1033 0.0882)
OKLCHoklch(47.06% 0.136 139.5)
XYZxyz(6.4525, 11.2709, 2.5448)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C15 #57156C
analogous
#556C15 #2A6C15 #156C2B
triadic
#2A6C15 #152A6C #6C152A
tetradic
#2A6C15 #15556C #57156C #6C2B15
square
#2A6C15 #15556C #57156C #6C2B15
split-complementary
#2A6C15 #2B156C #6C1555
monochromatic
#0A1A05 #16390B #2A6C15 #3E9F1F #52D229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6C15#FFFFFF#000000##FFFFFF
##2A6C151.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)
#6F6202
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#22685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a6c15;
/* rgb */ color: rgb(42, 108, 21);
/* oklch */ color: oklch(47.1% 0.136 139.5);
Tailwind
colors: {
  custom: {
    50: '#6c975a',
    500: '#2a6c15',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c15;
$custom-light: #6c975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c15",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 105.517,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.13582,
    "h": 139.5
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#2A6C15
secondary
#893AA3
accent
#3DEAC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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