#2C570C#2C570C

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

Color values

HEX#2C570C
RGBrgb(44, 87, 12)
HSLhsl(94, 76%, 19%)
HSVhsv(94, 86%, 34%)
CMYKcmyk(49.4%, 0%, 86.2%, 65.9%)
CIE-LABlab(32.65, -28.65, 35.58)
CIE-LCHlch(32.65, 45.68, 128.84°)
OKLaboklab(40.99% -0.0801 0.0787)
OKLCHoklch(40.99% 0.112 135.5)
XYZxyz(4.5132, 7.3781, 1.5341)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C570C #370C57
analogous
#52570C #2C570C #0C5712
triadic
#2C570C #0C2C57 #570C2C
tetradic
#2C570C #0C5257 #370C57 #57120C
square
#2C570C #0C5257 #370C57 #57120C
split-complementary
#2C570C #120C57 #570C52
monochromatic
#0E1B04 #112105 #2C570C #478D13 #62C31B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C570C#FFFFFF#000000##FFFFFF
##2C570C1.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)
#5A4F00
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#2A5349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c570c;
/* rgb */ color: rgb(44, 87, 12);
/* oklch */ color: oklch(41.0% 0.112 135.5);
Tailwind
colors: {
  custom: {
    50: '#6a8752',
    500: '#2c570c',
    950: '#000000',
  },
}
SCSS
$custom: #2c570c;
$custom-light: #6a8752;
$custom-dark: #000000;
JSON
{
  "hex": "#2c570c",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 94.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.11226,
    "h": 135.5
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#2C570C
secondary
#672D92
accent
#35F2A2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2C570C

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

Preview Lab → · Contrast checker → · Palette generator →

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