#2A6D11#2A6D11

#2A6D11 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.139 H 139.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2A6D11
RGBrgb(42, 109, 17)
HSLhsl(104, 73%, 25%)
HSVhsv(104, 84%, 43%)
CMYKcmyk(61.5%, 0%, 84.4%, 57.3%)
CIE-LABlab(40.36, -38.21, 41.09)
CIE-LCHlch(40.36, 56.11, 132.91°)
OKLaboklab(47.33% -0.1053 0.0911)
OKLCHoklch(47.33% 0.139 139.1)
XYZxyz(6.5244, 11.4694, 2.4002)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D11 #54116D
analogous
#586D11 #2A6D11 #116D26
triadic
#2A6D11 #112A6D #6D112A
tetradic
#2A6D11 #11586D #54116D #6D2611
square
#2A6D11 #11586D #54116D #6D2611
split-complementary
#2A6D11 #26116D #6D1158
monochromatic
#0A1A04 #163809 #2A6D11 #3EA219 #53D722

Accessibility & contrast

On white

6.38
#2A6D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2A6D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D11
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D11#FFFFFF#000000##FFFFFF
##2A6D111.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6d11;
/* rgb */ color: rgb(42, 109, 17);
/* oklch */ color: oklch(47.3% 0.139 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d9758',
    500: '#2a6d11',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d11;
$custom-light: #6d9758;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d11",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 103.696,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.1392,
    "h": 139.1
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#2A6D11
secondary
#8635A5
accent
#38F0BE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2A6D11

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

Preview Lab → · Contrast checker → · Palette generator →

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