#2C570F#2C570F

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

Color values

HEX#2C570F
RGBrgb(44, 87, 15)
HSLhsl(96, 71%, 20%)
HSVhsv(96, 83%, 34%)
CMYKcmyk(49.4%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.67, -28.46, 34.54)
CIE-LCHlch(32.67, 44.75, 129.49°)
OKLaboklab(41.01% -0.0794 0.077)
OKLCHoklch(41.01% 0.111 135.9)
XYZxyz(4.5330, 7.3861, 1.6386)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C570F #3A0F57
analogous
#50570F #2C570F #0F5716
triadic
#2C570F #0F2C57 #570F2C
tetradic
#2C570F #0F5057 #3A0F57 #57160F
square
#2C570F #0F5057 #3A0F57 #57160F
split-complementary
#2C570F #160F57 #570F50
monochromatic
#0D1A05 #122306 #2C570F #468B18 #61BF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C570F#FFFFFF#000000##FFFFFF
##2C570F1.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)
#5A4F01
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#2A5349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c570f;
/* rgb */ color: rgb(44, 87, 15);
/* oklch */ color: oklch(41.0% 0.111 135.9);
Tailwind
colors: {
  custom: {
    50: '#6a8754',
    500: '#2c570f',
    950: '#000000',
  },
}
SCSS
$custom: #2c570f;
$custom-light: #6a8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2c570f",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 95.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.11058,
    "h": 135.9
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#2C570F
secondary
#6A3191
accent
#3AEDA5
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C570F

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

Preview Lab → · Contrast checker → · Palette generator →

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