#2C5510#2C5510

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

Color values

HEX#2C5510
RGBrgb(44, 85, 16)
HSLhsl(96, 68%, 20%)
HSVhsv(96, 81%, 33%)
CMYKcmyk(48.2%, 0%, 81.2%, 66.7%)
CIE-LABlab(31.96, -27.48, 33.47)
CIE-LCHlch(31.96, 43.30, 129.39°)
OKLaboklab(40.43% -0.0766 0.0749)
OKLCHoklch(40.43% 0.107 135.6)
XYZxyz(4.3806, 7.0696, 1.6239)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5510 #391055
analogous
#4F5510 #2C5510 #105516
triadic
#2C5510 #102C55 #55102C
tetradic
#2C5510 #104F55 #391055 #551610
square
#2C5510 #104F55 #391055 #551610
split-complementary
#2C5510 #161055 #55104F
monochromatic
#0D1A05 #112106 #2C5510 #47891A #61BC23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5510#FFFFFF#000000##FFFFFF
##2C55101.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)
#584D03
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#2B5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c5510;
/* rgb */ color: rgb(44, 85, 16);
/* oklch */ color: oklch(40.4% 0.107 135.6);
Tailwind
colors: {
  custom: {
    50: '#6a8554',
    500: '#2c5510',
    950: '#000000',
  },
}
SCSS
$custom: #2c5510;
$custom-light: #6a8554;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5510",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 95.652,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.10718,
    "h": 135.6
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#2C5510
secondary
#69328F
accent
#3DEBA4
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5510

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

Preview Lab → · Contrast checker → · Palette generator →

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