#2C4917#2C4917

#2C4917 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.084 H 134.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2C4917
RGBrgb(44, 73, 23)
HSLhsl(95, 52%, 19%)
HSVhsv(95, 68%, 29%)
CMYKcmyk(39.7%, 0%, 68.5%, 71.4%)
CIE-LABlab(27.74, -21.01, 25.86)
CIE-LCHlch(27.74, 33.31, 129.10°)
OKLaboklab(37% -0.0585 0.06)
OKLCHoklch(37% 0.084 134.3)
XYZxyz(3.5758, 5.3623, 1.6571)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4917 #341749
analogous
#454917 #2C4917 #17491B
triadic
#2C4917 #172C49 #49172C
tetradic
#2C4917 #174549 #341749 #491B17
square
#2C4917 #174549 #341749 #491B17
split-complementary
#2C4917 #1B1749 #491745
monochromatic
#0E1707 #101A08 #2C4917 #487826 #64A634

Accessibility & contrast

On white

10.13
#2C4917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C4917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4917
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4917#FFFFFF#000000##FFFFFF
##2C49171.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#48411B
Tritanopia (blue-blind)
#2C463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4917;
/* rgb */ color: rgb(44, 73, 23);
/* oklch */ color: oklch(37.0% 0.084 134.3);
Tailwind
colors: {
  custom: {
    50: '#687c56',
    500: '#2c4917',
    950: '#000000',
  },
}
SCSS
$custom: #2c4917;
$custom-light: #687c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4917",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 94.8,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.08377,
    "h": 134.3
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#2C4917
secondary
#633C80
accent
#4CDC9F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4917

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

Preview Lab → · Contrast checker → · Palette generator →

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