#2C5311#2C5311

#2C5311 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.104 H 135.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2C5311
RGBrgb(44, 83, 17)
HSLhsl(95, 66%, 20%)
HSVhsv(95, 80%, 33%)
CMYKcmyk(47%, 0%, 79.5%, 67.5%)
CIE-LABlab(31.26, -26.47, 32.37)
CIE-LCHlch(31.26, 41.82, 129.28°)
OKLaboklab(39.86% -0.0738 0.0728)
OKLCHoklch(39.86% 0.104 135.4)
XYZxyz(4.2330, 6.7622, 1.6124)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5311 #381153
analogous
#4D5311 #2C5311 #115317
triadic
#2C5311 #112C53 #53112C
tetradic
#2C5311 #114D53 #381153 #531711
square
#2C5311 #114D53 #381153 #531711
split-complementary
#2C5311 #171153 #53114D
monochromatic
#0D1905 #112007 #2C5311 #47861B #62B926

Accessibility & contrast

On white

8.93
#2C5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5311
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5311#FFFFFF#000000##FFFFFF
##2C53111.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C05
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#2B5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5311;
/* rgb */ color: rgb(44, 83, 17);
/* oklch */ color: oklch(39.9% 0.104 135.4);
Tailwind
colors: {
  custom: {
    50: '#698454',
    500: '#2c5311',
    950: '#000000',
  },
}
SCSS
$custom: #2c5311;
$custom-light: #698454;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5311",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 95.455,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39855,
    "c": 0.10369,
    "h": 135.4
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#2C5311
secondary
#68348C
accent
#3FE9A3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5311

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

Preview Lab → · Contrast checker → · Palette generator →

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