#2D6111#2D6111

#2D6111 is a dark, vivid yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.122 H 137.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2D6111
RGBrgb(45, 97, 17)
HSLhsl(99, 70%, 22%)
HSVhsv(99, 82%, 38%)
CMYKcmyk(53.6%, 0%, 82.5%, 62%)
CIE-LABlab(36.27, -32.39, 37.27)
CIE-LCHlch(36.27, 49.38, 130.99°)
OKLaboklab(43.98% -0.0899 0.083)
OKLCHoklch(43.98% 0.122 137.3)
XYZxyz(5.4579, 9.1474, 2.0082)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6111 #451161
analogous
#556111 #2D6111 #11611D
triadic
#2D6111 #112D61 #61112D
tetradic
#2D6111 #115561 #451161 #611D11
square
#2D6111 #115561 #451161 #611D11
split-complementary
#2D6111 #1D1161 #611155
monochromatic
#0C1A05 #152D08 #2D6111 #45951A #5DC923

Accessibility & contrast

On white

7.42
#2D6111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D6111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6111
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6111#FFFFFF#000000##FFFFFF
##2D61111.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#2A5D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6111;
/* rgb */ color: rgb(45, 97, 17);
/* oklch */ color: oklch(44.0% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#6c8e56',
    500: '#2d6111',
    950: '#000000',
  },
}
SCSS
$custom: #2d6111;
$custom-light: #6c8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6111",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 99,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43982,
    "c": 0.12235,
    "h": 137.3
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#2D6111
secondary
#763499
accent
#3BEDAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6111

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

Preview Lab → · Contrast checker → · Palette generator →

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