#2C4D15#2C4D15

#2C4D15 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.092 H 134.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2C4D15
RGBrgb(44, 77, 21)
HSLhsl(95, 57%, 19%)
HSVhsv(95, 73%, 30%)
CMYKcmyk(42.9%, 0%, 72.7%, 69.8%)
CIE-LABlab(29.15, -23.23, 28.40)
CIE-LCHlch(29.15, 36.69, 129.29°)
OKLaboklab(38.14% -0.0647 0.0651)
OKLCHoklch(38.14% 0.092 134.8)
XYZxyz(3.8279, 5.8972, 1.6459)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D15 #36154D
analogous
#484D15 #2C4D15 #154D1A
triadic
#2C4D15 #152C4D #4D152C
tetradic
#2C4D15 #15484D #36154D #4D1A15
square
#2C4D15 #15484D #36154D #4D1A15
split-complementary
#2C4D15 #1A154D #4D1548
monochromatic
#0E1807 #111D08 #2C4D15 #477D22 #63AD2F

Accessibility & contrast

On white

9.64
#2C4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D15
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D15#FFFFFF#000000##FFFFFF
##2C4D151.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#2B4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4d15;
/* rgb */ color: rgb(44, 77, 21);
/* oklch */ color: oklch(38.1% 0.092 134.8);
Tailwind
colors: {
  custom: {
    50: '#687f55',
    500: '#2c4d15',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d15;
$custom-light: #687f55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d15",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 95.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.09179,
    "h": 134.8
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#2C4D15
secondary
#663985
accent
#47E0A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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