#2C4F15#2C4F15

#2C4F15 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.095 H 135.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2C4F15
RGBrgb(44, 79, 21)
HSLhsl(96, 58%, 20%)
HSVhsv(96, 73%, 31%)
CMYKcmyk(44.3%, 0%, 73.4%, 69%)
CIE-LABlab(29.87, -24.21, 29.16)
CIE-LCHlch(29.87, 37.90, 129.71°)
OKLaboklab(38.72% -0.0674 0.0667)
OKLCHoklch(38.72% 0.095 135.3)
XYZxyz(3.9700, 6.1814, 1.6933)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F15 #38154F
analogous
#494F15 #2C4F15 #154F1B
triadic
#2C4F15 #152C4F #4F152C
tetradic
#2C4F15 #15494F #38154F #4F1B15
square
#2C4F15 #15494F #38154F #4F1B15
split-complementary
#2C4F15 #1B154F #4F1549
monochromatic
#0D1806 #111F08 #2C4F15 #477F22 #62B02F

Accessibility & contrast

On white

9.39
#2C4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F15
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F15#FFFFFF#000000##FFFFFF
##2C4F151.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#2B4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4f15;
/* rgb */ color: rgb(44, 79, 21);
/* oklch */ color: oklch(38.7% 0.095 135.3);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2c4f15',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f15;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f15",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 96.207,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.09482,
    "h": 135.3
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#2C4F15
secondary
#683987
accent
#47E1A4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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