#2A6F13#2A6F13

#2A6F13 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.141 H 139.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2A6F13
RGBrgb(42, 111, 19)
HSLhsl(105, 71%, 25%)
HSVhsv(105, 83%, 44%)
CMYKcmyk(62.2%, 0%, 82.9%, 56.5%)
CIE-LABlab(41.07, -38.86, 41.11)
CIE-LCHlch(41.07, 56.57, 133.39°)
OKLaboklab(47.92% -0.1069 0.0914)
OKLCHoklch(47.92% 0.141 139.5)
XYZxyz(6.7565, 11.9075, 2.5583)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F13 #58136F
analogous
#586F13 #2A6F13 #136F2A
triadic
#2A6F13 #132A6F #6F132A
tetradic
#2A6F13 #13586F #58136F #6F2A13
square
#2A6F13 #13586F #58136F #6F2A13
split-complementary
#2A6F13 #2A136F #6F1358
monochromatic
#0A1A04 #163B0A #2A6F13 #3EA31C #52D825

Accessibility & contrast

On white

6.21
#2A6F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2A6F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F13
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F13#FFFFFF#000000##FFFFFF
##2A6F131.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#226B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f13;
/* rgb */ color: rgb(42, 111, 19);
/* oklch */ color: oklch(47.9% 0.141 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d9959',
    500: '#2a6f13',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f13;
$custom-light: #6d9959;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f13",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 105,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47916,
    "c": 0.14068,
    "h": 139.5
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#2A6F13
secondary
#8A38A6
accent
#3AEEC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6F13

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

Preview Lab → · Contrast checker → · Palette generator →

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