#2A6E15#2A6E15

#2A6E15 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.138 H 139.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6E15
RGBrgb(42, 110, 21)
HSLhsl(106, 68%, 26%)
HSVhsv(106, 81%, 43%)
CMYKcmyk(61.8%, 0%, 80.9%, 56.9%)
CIE-LABlab(40.73, -38.34, 40.10)
CIE-LCHlch(40.73, 55.48, 133.71°)
OKLaboklab(47.64% -0.1054 0.0896)
OKLCHoklch(47.64% 0.138 139.6)
XYZxyz(6.6658, 11.6976, 2.6159)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E15 #59156E
analogous
#566E15 #2A6E15 #156E2C
triadic
#2A6E15 #152A6E #6E152A
tetradic
#2A6E15 #15566E #59156E #6E2C15
square
#2A6E15 #15566E #59156E #6E2C15
split-complementary
#2A6E15 #2C156E #6E1556
monochromatic
#0A1A05 #163B0B #2A6E15 #3EA11F #51D529

Accessibility & contrast

On white

6.29
#2A6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E15
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E15#FFFFFF#000000##FFFFFF
##2A6E151.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#226A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e15;
/* rgb */ color: rgb(42, 110, 21);
/* oklch */ color: oklch(47.6% 0.138 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d985a',
    500: '#2a6e15',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e15;
$custom-light: #6d985a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e15",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 105.843,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.13836,
    "h": 139.6
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#2A6E15
secondary
#8B3AA4
accent
#3DEBC2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6E15

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

Preview Lab → · Contrast checker → · Palette generator →

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