#2C6011#2C6011

#2C6011 is a dark, vivid yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.122 H 137.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2C6011
RGBrgb(44, 96, 17)
HSLhsl(99, 70%, 22%)
HSVhsv(99, 82%, 38%)
CMYKcmyk(54.2%, 0%, 82.3%, 62.4%)
CIE-LABlab(35.87, -32.29, 36.88)
CIE-LCHlch(35.87, 49.02, 131.20°)
OKLaboklab(43.65% -0.0895 0.0822)
OKLCHoklch(43.65% 0.122 137.4)
XYZxyz(5.3226, 8.9413, 1.9756)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6011 #451160
analogous
#546011 #2C6011 #11601E
triadic
#2C6011 #112C60 #60112C
tetradic
#2C6011 #115460 #451160 #601E11
square
#2C6011 #115460 #451160 #601E11
split-complementary
#2C6011 #1E1160 #601154
monochromatic
#0C1A05 #142C08 #2C6011 #44941A #5CC823

Accessibility & contrast

On white

7.53
#2C6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C6011
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6011#FFFFFF#000000##FFFFFF
##2C60111.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c6011;
/* rgb */ color: rgb(44, 96, 17);
/* oklch */ color: oklch(43.6% 0.122 137.4);
Tailwind
colors: {
  custom: {
    50: '#6b8e56',
    500: '#2c6011',
    950: '#000000',
  },
}
SCSS
$custom: #2c6011;
$custom-light: #6b8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6011",
  "rgb": {
    "r": 44,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 99.494,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.12156,
    "h": 137.4
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C6011

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

Preview Lab → · Contrast checker → · Palette generator →

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