#2C5710#2C5710

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

Color values

HEX#2C5710
RGBrgb(44, 87, 16)
HSLhsl(96, 69%, 20%)
HSVhsv(96, 82%, 34%)
CMYKcmyk(49.4%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.68, -28.39, 34.16)
CIE-LCHlch(32.68, 44.42, 129.73°)
OKLaboklab(41.02% -0.0791 0.0764)
OKLCHoklch(41.02% 0.11 136)
XYZxyz(4.5403, 7.3890, 1.6771)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5710 #3B1057
analogous
#4F5710 #2C5710 #105717
triadic
#2C5710 #102C57 #57102C
tetradic
#2C5710 #104F57 #3B1057 #571710
square
#2C5710 #104F57 #3B1057 #571710
split-complementary
#2C5710 #171057 #57104F
monochromatic
#0D1A05 #122306 #2C5710 #468B1A #60BE23

Accessibility & contrast

On white

8.48
#2C5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5710
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5710#FFFFFF#000000##FFFFFF
##2C57101.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5710;
/* rgb */ color: rgb(44, 87, 16);
/* oklch */ color: oklch(41.0% 0.110 136.0);
Tailwind
colors: {
  custom: {
    50: '#6a8754',
    500: '#2c5710',
    950: '#000000',
  },
}
SCSS
$custom: #2c5710;
$custom-light: #6a8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5710",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 96.338,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.10996,
    "h": 136
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#2C5710
secondary
#6B3290
accent
#3CECA6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5710

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

Preview Lab → · Contrast checker → · Palette generator →

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