#2D6211#2D6211

#2D6211 is a dark, vivid yellow-green. Relative luminance 0.093; OKLCH L 44.3% C 0.124 H 137.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2D6211
RGBrgb(45, 98, 17)
HSLhsl(99, 70%, 23%)
HSVhsv(99, 83%, 38%)
CMYKcmyk(54.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.62, -32.81, 37.61)
CIE-LCHlch(36.62, 49.91, 131.10°)
OKLaboklab(44.27% -0.091 0.0837)
OKLCHoklch(44.27% 0.124 137.4)
XYZxyz(5.5509, 9.3333, 2.0392)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6211 #461162
analogous
#566211 #2D6211 #11621D
triadic
#2D6211 #112D62 #62112D
tetradic
#2D6211 #115662 #461162 #621D11
square
#2D6211 #115662 #461162 #621D11
split-complementary
#2D6211 #1D1162 #621156
monochromatic
#0C1A05 #152E08 #2D6211 #45961A #5DCA23

Accessibility & contrast

On white

7.33
#2D6211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D6211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6211
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6211#FFFFFF#000000##FFFFFF
##2D62111.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#295E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6211;
/* rgb */ color: rgb(45, 98, 17);
/* oklch */ color: oklch(44.3% 0.124 137.4);
Tailwind
colors: {
  custom: {
    50: '#6c8f56',
    500: '#2d6211',
    950: '#000000',
  },
}
SCSS
$custom: #2d6211;
$custom-light: #6c8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6211",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 99.259,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44272,
    "c": 0.12367,
    "h": 137.4
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#2D6211
secondary
#77349A
accent
#3BEDAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6211

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

Preview Lab → · Contrast checker → · Palette generator →

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