#2C4815#2C4815

#2C4815 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.084 H 133.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2C4815
RGBrgb(44, 72, 21)
HSLhsl(93, 55%, 18%)
HSVhsv(93, 71%, 28%)
CMYKcmyk(38.9%, 0%, 70.8%, 71.8%)
CIE-LABlab(27.36, -20.70, 26.46)
CIE-LCHlch(27.36, 33.60, 128.04°)
OKLaboklab(36.68% -0.0578 0.061)
OKLCHoklch(36.68% 0.084 133.5)
XYZxyz(3.4914, 5.2242, 1.5337)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4815 #311548
analogous
#454815 #2C4815 #154817
triadic
#2C4815 #152C48 #48152C
tetradic
#2C4815 #154548 #311548 #481715
square
#2C4815 #154548 #311548 #481715
split-complementary
#2C4815 #171548 #481545
monochromatic
#0E1807 #0F1907 #2C4815 #497723 #66A731

Accessibility & contrast

On white

10.27
#2C4815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C4815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4815
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4815#FFFFFF#000000##FFFFFF
##2C48151.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420F
Deuteranopia (green-blind)
#474019
Tritanopia (blue-blind)
#2C453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4815;
/* rgb */ color: rgb(44, 72, 21);
/* oklch */ color: oklch(36.7% 0.084 133.5);
Tailwind
colors: {
  custom: {
    50: '#687b55',
    500: '#2c4815',
    950: '#000000',
  },
}
SCSS
$custom: #2c4815;
$custom-light: #687b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4815",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 21
  },
  "hsl": {
    "h": 92.941,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.08406,
    "h": 133.5
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#2C4815
secondary
#603980
accent
#4ADE9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4815

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

Preview Lab → · Contrast checker → · Palette generator →

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