#2D6511#2D6511

#2D6511 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.128 H 137.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2D6511
RGBrgb(45, 101, 17)
HSLhsl(100, 71%, 23%)
HSVhsv(100, 83%, 40%)
CMYKcmyk(55.4%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.67, -34.08, 38.61)
CIE-LCHlch(37.67, 51.50, 131.43°)
OKLaboklab(45.14% -0.0944 0.0858)
OKLCHoklch(45.14% 0.128 137.7)
XYZxyz(5.8368, 9.9053, 2.1345)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6511 #491165
analogous
#576511 #2D6511 #11651F
triadic
#2D6511 #112D65 #65112D
tetradic
#2D6511 #115765 #491165 #651F11
square
#2D6511 #115765 #491165 #651F11
split-complementary
#2D6511 #1F1165 #651157
monochromatic
#0C1A04 #163108 #2D6511 #44991A #5CCE23

Accessibility & contrast

On white

7.04
#2D6511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2D6511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6511
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6511#FFFFFF#000000##FFFFFF
##2D65111.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#296155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6511;
/* rgb */ color: rgb(45, 101, 17);
/* oklch */ color: oklch(45.1% 0.128 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d9157',
    500: '#2d6511',
    950: '#000000',
  },
}
SCSS
$custom: #2d6511;
$custom-light: #6d9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6511",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 100,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.12759,
    "h": 137.7
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#2D6511
secondary
#7A359D
accent
#3AEEB2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2D6511

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

Preview Lab → · Contrast checker → · Palette generator →

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