#2A6F11#2A6F11

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

Color values

HEX#2A6F11
RGBrgb(42, 111, 17)
HSLhsl(104, 73%, 25%)
HSVhsv(104, 85%, 44%)
CMYKcmyk(62.2%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.06, -38.98, 41.74)
CIE-LCHlch(41.06, 57.12, 133.04°)
OKLaboklab(47.9% -0.1074 0.0924)
OKLCHoklch(47.9% 0.142 139.3)
XYZxyz(6.7402, 11.9010, 2.4721)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F11 #56116F
analogous
#596F11 #2A6F11 #116F27
triadic
#2A6F11 #112A6F #6F112A
tetradic
#2A6F11 #11596F #56116F #6F2711
square
#2A6F11 #11596F #56116F #6F2711
split-complementary
#2A6F11 #27116F #6F1159
monochromatic
#0A1B04 #163A09 #2A6F11 #3EA419 #52D921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6F11#FFFFFF#000000##FFFFFF
##2A6F111.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)
#6A5F1D
Tritanopia (blue-blind)
#226B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f11;
/* rgb */ color: rgb(42, 111, 17);
/* oklch */ color: oklch(47.9% 0.142 139.3);
Tailwind
colors: {
  custom: {
    50: '#6d9958',
    500: '#2a6f11',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f11;
$custom-light: #6d9958;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f11",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 104.043,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.14167,
    "h": 139.3
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#2A6F11
secondary
#8835A6
accent
#38F0BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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