#2D6F11#2D6F11

#2D6F11 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.140 H 138.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2D6F11
RGBrgb(45, 111, 17)
HSLhsl(102, 73%, 25%)
HSVhsv(102, 85%, 44%)
CMYKcmyk(59.5%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.16, -38.14, 41.88)
CIE-LCHlch(41.16, 56.64, 132.33°)
OKLaboklab(48.02% -0.1053 0.0927)
OKLCHoklch(48.02% 0.14 138.7)
XYZxyz(6.8675, 11.9667, 2.4781)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F11 #53116F
analogous
#5C6F11 #2D6F11 #116F24
triadic
#2D6F11 #112D6F #6F112D
tetradic
#2D6F11 #115C6F #53116F #6F2411
square
#2D6F11 #115C6F #53116F #6F2411
split-complementary
#2D6F11 #24116F #6F115C
monochromatic
#0B1B04 #173A09 #2D6F11 #43A419 #58D921

Accessibility & contrast

On white

6.19
#2D6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2D6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F11
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F11#FFFFFF#000000##FFFFFF
##2D6F111.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f11;
/* rgb */ color: rgb(45, 111, 17);
/* oklch */ color: oklch(48.0% 0.140 138.7);
Tailwind
colors: {
  custom: {
    50: '#6f9958',
    500: '#2d6f11',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f11;
$custom-light: #6f9958;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f11",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 102.128,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.14028,
    "h": 138.7
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#2D6F11
secondary
#8535A6
accent
#38F0B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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