#2C5714#2C5714

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

Color values

HEX#2C5714
RGBrgb(44, 87, 20)
HSLhsl(99, 63%, 21%)
HSVhsv(99, 77%, 34%)
CMYKcmyk(49.4%, 0%, 77%, 65.9%)
CIE-LABlab(32.71, -28.08, 32.56)
CIE-LCHlch(32.71, 43.00, 130.77°)
OKLaboklab(41.05% -0.078 0.0737)
OKLCHoklch(41.05% 0.107 136.6)
XYZxyz(4.5730, 7.4021, 1.8495)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5714 #3F1457
analogous
#4D5714 #2C5714 #14571D
triadic
#2C5714 #142C57 #57142C
tetradic
#2C5714 #144D57 #3F1457 #571D14
square
#2C5714 #144D57 #3F1457 #571D14
split-complementary
#2C5714 #1D1457 #57144D
monochromatic
#0D1906 #132509 #2C5714 #45891F #5EBB2B

Accessibility & contrast

On white

8.47
#2C5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5714
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5714#FFFFFF#000000##FFFFFF
##2C57141.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#544C1A
Tritanopia (blue-blind)
#2A544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c5714;
/* rgb */ color: rgb(44, 87, 20);
/* oklch */ color: oklch(41.0% 0.107 136.6);
Tailwind
colors: {
  custom: {
    50: '#6a8756',
    500: '#2c5714',
    950: '#000000',
  },
}
SCSS
$custom: #2c5714;
$custom-light: #6a8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5714",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 98.507,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.10727,
    "h": 136.6
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#2C5714
secondary
#70388F
accent
#42E6AB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5714

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

Preview Lab → · Contrast checker → · Palette generator →

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