#2C4E15#2C4E15

#2C4E15 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.093 H 135.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2C4E15
RGBrgb(44, 78, 21)
HSLhsl(96, 58%, 19%)
HSVhsv(96, 73%, 31%)
CMYKcmyk(43.6%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.51, -23.73, 28.78)
CIE-LCHlch(29.51, 37.30, 129.50°)
OKLaboklab(38.43% -0.0661 0.0659)
OKLCHoklch(38.43% 0.093 135.1)
XYZxyz(3.8984, 6.0382, 1.6694)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E15 #37154E
analogous
#494E15 #2C4E15 #154E1A
triadic
#2C4E15 #152C4E #4E152C
tetradic
#2C4E15 #15494E #37154E #4E1A15
square
#2C4E15 #15494E #37154E #4E1A15
split-complementary
#2C4E15 #1A154E #4E1549
monochromatic
#0E1806 #111E08 #2C4E15 #477E22 #62AE2F

Accessibility & contrast

On white

9.51
#2C4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E15
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E15#FFFFFF#000000##FFFFFF
##2C4E151.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#2B4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e15;
/* rgb */ color: rgb(44, 78, 21);
/* oklch */ color: oklch(38.4% 0.093 135.1);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2c4e15',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e15;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e15",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 95.789,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38433,
    "c": 0.0933,
    "h": 135.1
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#2C4E15
secondary
#673986
accent
#47E1A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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