#2C560B#2C560B

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

Color values

HEX#2C560B
RGBrgb(44, 86, 11)
HSLhsl(94, 77%, 19%)
HSVhsv(94, 87%, 34%)
CMYKcmyk(48.8%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.29, -28.26, 35.57)
CIE-LCHlch(32.29, 45.43, 128.46°)
OKLaboklab(40.69% -0.0791 0.0785)
OKLCHoklch(40.69% 0.111 135.2)
XYZxyz(4.4268, 7.2149, 1.4759)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C560B #350B56
analogous
#52560B #2C560B #0B5610
triadic
#2C560B #0B2C56 #560B2C
tetradic
#2C560B #0B5256 #350B56 #56100B
square
#2C560B #0B5256 #350B56 #56100B
split-complementary
#2C560B #100B56 #560B52
monochromatic
#0E1B03 #102004 #2C560B #488C12 #64C319

Accessibility & contrast

On white

8.60
#2C560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C560B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C560B#FFFFFF#000000##FFFFFF
##2C560B1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#2B5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c560b;
/* rgb */ color: rgb(44, 86, 11);
/* oklch */ color: oklch(40.7% 0.111 135.2);
Tailwind
colors: {
  custom: {
    50: '#6a8652',
    500: '#2c560b',
    950: '#000000',
  },
}
SCSS
$custom: #2c560b;
$custom-light: #6a8652;
$custom-dark: #000000;
JSON
{
  "hex": "#2c560b",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 93.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.11143,
    "h": 135.2
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#2C560B
secondary
#652B91
accent
#34F49F
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2C560B

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

Preview Lab → · Contrast checker → · Palette generator →

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