#2D6011#2D6011

#2D6011 is a dark, vivid yellow-green. Relative luminance 0.090; OKLCH L 43.7% C 0.121 H 137.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D6011
RGBrgb(45, 96, 17)
HSLhsl(99, 70%, 22%)
HSVhsv(99, 82%, 38%)
CMYKcmyk(53.1%, 0%, 82.3%, 62.4%)
CIE-LABlab(35.91, -31.96, 36.94)
CIE-LCHlch(35.91, 48.84, 130.87°)
OKLaboklab(43.69% -0.0887 0.0823)
OKLCHoklch(43.69% 0.121 137.1)
XYZxyz(5.3661, 8.9637, 1.9776)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6011 #441160
analogous
#556011 #2D6011 #11601C
triadic
#2D6011 #112D60 #60112D
tetradic
#2D6011 #115560 #441160 #601C11
square
#2D6011 #115560 #441160 #601C11
split-complementary
#2D6011 #1C1160 #601155
monochromatic
#0C1A05 #152C08 #2D6011 #45941A #5EC823

Accessibility & contrast

On white

7.52
#2D6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D6011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6011
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6011#FFFFFF#000000##FFFFFF
##2D60111.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635701
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#2A5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d6011;
/* rgb */ color: rgb(45, 96, 17);
/* oklch */ color: oklch(43.7% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8e56',
    500: '#2d6011',
    950: '#000000',
  },
}
SCSS
$custom: #2d6011;
$custom-light: #6c8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6011",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 98.734,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.12102,
    "h": 137.1
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#2D6011
secondary
#753499
accent
#3BEDAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6011

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

Preview Lab → · Contrast checker → · Palette generator →

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