#2A6D15#2A6D15

#2A6D15 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.137 H 139.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2A6D15
RGBrgb(42, 109, 21)
HSLhsl(106, 68%, 25%)
HSVhsv(106, 81%, 43%)
CMYKcmyk(61.5%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.38, -37.95, 39.77)
CIE-LCHlch(40.38, 54.97, 133.66°)
OKLaboklab(47.35% -0.1043 0.0889)
OKLCHoklch(47.35% 0.137 139.6)
XYZxyz(6.5586, 11.4831, 2.5802)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D15 #58156D
analogous
#566D15 #2A6D15 #156D2C
triadic
#2A6D15 #152A6D #6D152A
tetradic
#2A6D15 #15566D #58156D #6D2C15
square
#2A6D15 #15566D #58156D #6D2C15
split-complementary
#2A6D15 #2C156D #6D1556
monochromatic
#0A1A05 #163A0B #2A6D15 #3EA01F #52D429

Accessibility & contrast

On white

6.37
#2A6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2A6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D15
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D15#FFFFFF#000000##FFFFFF
##2A6D151.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706301
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#22695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6d15;
/* rgb */ color: rgb(42, 109, 21);
/* oklch */ color: oklch(47.4% 0.137 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d975a',
    500: '#2a6d15',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d15;
$custom-light: #6d975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d15",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 105.682,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.13709,
    "h": 139.6
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#2A6D15
secondary
#8A3AA3
accent
#3DEBC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2A6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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