#2C5E11#2C5E11

#2C5E11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.119 H 137.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2C5E11
RGBrgb(44, 94, 17)
HSLhsl(99, 69%, 22%)
HSVhsv(99, 82%, 37%)
CMYKcmyk(53.2%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.16, -31.43, 36.20)
CIE-LCHlch(35.16, 47.94, 130.97°)
OKLaboklab(43.06% -0.0872 0.0808)
OKLCHoklch(43.06% 0.119 137.2)
XYZxyz(5.1424, 8.5810, 1.9155)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E11 #43115E
analogous
#535E11 #2C5E11 #115E1D
triadic
#2C5E11 #112C5E #5E112C
tetradic
#2C5E11 #11535E #43115E #5E1D11
square
#2C5E11 #11535E #43115E #5E1D11
split-complementary
#2C5E11 #1D115E #5E1153
monochromatic
#0C1A05 #142A08 #2C5E11 #44921A #5DC624

Accessibility & contrast

On white

7.73
#2C5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5E11
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E11#FFFFFF#000000##FFFFFF
##2C5E111.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#295A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5e11;
/* rgb */ color: rgb(44, 94, 17);
/* oklch */ color: oklch(43.1% 0.119 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8c56',
    500: '#2c5e11',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e11;
$custom-light: #6b8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e11",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 98.961,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.11889,
    "h": 137.2
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#2C5E11
secondary
#743497
accent
#3CECAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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