#2C5D11#2C5D11

#2C5D11 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.118 H 137.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C5D11
RGBrgb(44, 93, 17)
HSLhsl(99, 69%, 22%)
HSVhsv(99, 82%, 36%)
CMYKcmyk(52.7%, 0%, 81.7%, 63.5%)
CIE-LABlab(34.81, -30.99, 35.86)
CIE-LCHlch(34.81, 47.39, 130.84°)
OKLaboklab(42.77% -0.086 0.0801)
OKLCHoklch(42.77% 0.118 137.1)
XYZxyz(5.0541, 8.4043, 1.8861)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D11 #42115D
analogous
#525D11 #2C5D11 #115D1C
triadic
#2C5D11 #112C5D #5D112C
tetradic
#2C5D11 #11525D #42115D #5D1C11
square
#2C5D11 #11525D #42115D #5D1C11
split-complementary
#2C5D11 #1C115D #5D1152
monochromatic
#0C1A05 #142908 #2C5D11 #44911A #5DC424

Accessibility & contrast

On white

7.83
#2C5D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C5D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D11
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D11#FFFFFF#000000##FFFFFF
##2C5D111.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#29594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d11;
/* rgb */ color: rgb(44, 93, 17);
/* oklch */ color: oklch(42.8% 0.118 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b8b56',
    500: '#2c5d11',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d11;
$custom-light: #6b8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d11",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 98.684,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.11754,
    "h": 137.1
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#2C5D11
secondary
#733496
accent
#3CECAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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