#2C5511#2C5511

#2C5511 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.4% C 0.107 H 135.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2C5511
RGBrgb(44, 85, 17)
HSLhsl(96, 67%, 20%)
HSVhsv(96, 80%, 33%)
CMYKcmyk(48.2%, 0%, 80%, 66.7%)
CIE-LABlab(31.97, -27.40, 33.08)
CIE-LCHlch(31.97, 42.95, 129.64°)
OKLaboklab(40.44% -0.0764 0.0743)
OKLCHoklch(40.44% 0.107 135.8)
XYZxyz(4.3883, 7.0727, 1.6641)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5511 #3A1155
analogous
#4E5511 #2C5511 #115518
triadic
#2C5511 #112C55 #55112C
tetradic
#2C5511 #114E55 #3A1155 #551811
square
#2C5511 #114E55 #3A1155 #551811
split-complementary
#2C5511 #181155 #55114E
monochromatic
#0D1A05 #122207 #2C5511 #46881B #61BB25

Accessibility & contrast

On white

8.70
#2C5511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C5511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5511
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5511#FFFFFF#000000##FFFFFF
##2C55111.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#2A5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c5511;
/* rgb */ color: rgb(44, 85, 17);
/* oklch */ color: oklch(40.4% 0.107 135.8);
Tailwind
colors: {
  custom: {
    50: '#6a8554',
    500: '#2c5511',
    950: '#000000',
  },
}
SCSS
$custom: #2c5511;
$custom-light: #6a8554;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5511",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 96.176,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.10652,
    "h": 135.8
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#2C5511
secondary
#6A348E
accent
#3EEAA6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5511

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

Preview Lab → · Contrast checker → · Palette generator →

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