#2C560F#2C560F

#2C560F is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.109 H 135.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2C560F
RGBrgb(44, 86, 15)
HSLhsl(95, 70%, 20%)
HSVhsv(95, 83%, 34%)
CMYKcmyk(48.8%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.31, -28.01, 34.19)
CIE-LCHlch(32.31, 44.20, 129.32°)
OKLaboklab(40.72% -0.0781 0.0763)
OKLCHoklch(40.72% 0.109 135.7)
XYZxyz(4.4526, 7.2253, 1.6118)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C560F #390F56
analogous
#50560F #2C560F #0F5616
triadic
#2C560F #0F2C56 #560F2C
tetradic
#2C560F #0F5056 #390F56 #56160F
square
#2C560F #0F5056 #390F56 #56160F
split-complementary
#2C560F #160F56 #560F50
monochromatic
#0D1A05 #112206 #2C560F #478A18 #61BE21

Accessibility & contrast

On white

8.59
#2C560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C560F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C560F#FFFFFF#000000##FFFFFF
##2C560F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#2A5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c560f;
/* rgb */ color: rgb(44, 86, 15);
/* oklch */ color: oklch(40.7% 0.109 135.7);
Tailwind
colors: {
  custom: {
    50: '#6a8654',
    500: '#2c560f',
    950: '#000000',
  },
}
SCSS
$custom: #2c560f;
$custom-light: #6a8654;
$custom-dark: #000000;
JSON
{
  "hex": "#2c560f",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 95.493,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40717,
    "c": 0.10919,
    "h": 135.7
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#2C560F
secondary
#693190
accent
#3BEDA4
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C560F

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

Preview Lab → · Contrast checker → · Palette generator →

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