#2C5C11#2C5C11

#2C5C11 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.116 H 136.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2C5C11
RGBrgb(44, 92, 17)
HSLhsl(98, 69%, 21%)
HSVhsv(98, 82%, 36%)
CMYKcmyk(52.2%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.46, -30.55, 35.51)
CIE-LCHlch(34.46, 46.85, 130.71°)
OKLaboklab(42.48% -0.0849 0.0794)
OKLCHoklch(42.48% 0.116 136.9)
XYZxyz(4.9669, 8.2299, 1.8570)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C11 #41115C
analogous
#525C11 #2C5C11 #115C1C
triadic
#2C5C11 #112C5C #5C112C
tetradic
#2C5C11 #11525C #41115C #5C1C11
square
#2C5C11 #11525C #41115C #5C1C11
split-complementary
#2C5C11 #1C115C #5C1152
monochromatic
#0C1A05 #132807 #2C5C11 #45901B #5DC324

Accessibility & contrast

On white

7.94
#2C5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5C11
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C11#FFFFFF#000000##FFFFFF
##2C5C111.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5402
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#29584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5c11;
/* rgb */ color: rgb(44, 92, 17);
/* oklch */ color: oklch(42.5% 0.116 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8a55',
    500: '#2c5c11',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c11;
$custom-light: #6b8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c11",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 98.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42481,
    "c": 0.11619,
    "h": 136.9
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#2C5C11
secondary
#723495
accent
#3CECAC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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