#2C5711#2C5711

#2C5711 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.0% C 0.109 H 136.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2C5711
RGBrgb(44, 87, 17)
HSLhsl(97, 67%, 20%)
HSVhsv(97, 80%, 34%)
CMYKcmyk(49.4%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.68, -28.32, 33.78)
CIE-LCHlch(32.68, 44.08, 129.97°)
OKLaboklab(41.02% -0.0788 0.0757)
OKLCHoklch(41.02% 0.109 136.1)
XYZxyz(4.5480, 7.3920, 1.7174)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5711 #3C1157
analogous
#4F5711 #2C5711 #115719
triadic
#2C5711 #112C57 #57112C
tetradic
#2C5711 #114F57 #3C1157 #571911
square
#2C5711 #114F57 #3C1157 #571911
split-complementary
#2C5711 #191157 #57114F
monochromatic
#0D1A05 #122407 #2C5711 #468A1B #60BD25

Accessibility & contrast

On white

8.47
#2C5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C5711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5711
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5711#FFFFFF#000000##FFFFFF
##2C57111.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#2A534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c5711;
/* rgb */ color: rgb(44, 87, 17);
/* oklch */ color: oklch(41.0% 0.109 136.1);
Tailwind
colors: {
  custom: {
    50: '#6a8755',
    500: '#2c5711',
    950: '#000000',
  },
}
SCSS
$custom: #2c5711;
$custom-light: #6a8755;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5711",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 96.857,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41024,
    "c": 0.10933,
    "h": 136.1
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#2C5711
secondary
#6C3490
accent
#3EEAA8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5711

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

Preview Lab → · Contrast checker → · Palette generator →

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