#2C5411#2C5411

#2C5411 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.105 H 135.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2C5411
RGBrgb(44, 84, 17)
HSLhsl(96, 66%, 20%)
HSVhsv(96, 80%, 33%)
CMYKcmyk(47.6%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.62, -26.94, 32.72)
CIE-LCHlch(31.62, 42.38, 129.46°)
OKLaboklab(40.15% -0.0751 0.0735)
OKLCHoklch(40.15% 0.105 135.6)
XYZxyz(4.3101, 6.9163, 1.6381)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5411 #391154
analogous
#4E5411 #2C5411 #115418
triadic
#2C5411 #112C54 #54112C
tetradic
#2C5411 #114E54 #391154 #541811
square
#2C5411 #114E54 #391154 #541811
split-complementary
#2C5411 #181154 #54114E
monochromatic
#0D1905 #112107 #2C5411 #47871B #61BA26

Accessibility & contrast

On white

8.81
#2C5411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C5411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5411
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5411#FFFFFF#000000##FFFFFF
##2C54111.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#2B5147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5411;
/* rgb */ color: rgb(44, 84, 17);
/* oklch */ color: oklch(40.1% 0.105 135.6);
Tailwind
colors: {
  custom: {
    50: '#698454',
    500: '#2c5411',
    950: '#000000',
  },
}
SCSS
$custom: #2c5411;
$custom-light: #698454;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5411",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 95.821,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40148,
    "c": 0.10511,
    "h": 135.6
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#2C5411
secondary
#69348D
accent
#3FE9A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5411

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

Preview Lab → · Contrast checker → · Palette generator →

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