#2C4D13#2C4D13

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

Color values

HEX#2C4D13
RGBrgb(44, 77, 19)
HSLhsl(94, 60%, 19%)
HSVhsv(94, 75%, 30%)
CMYKcmyk(42.9%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.13, -23.42, 29.32)
CIE-LCHlch(29.13, 37.53, 128.61°)
OKLaboklab(38.12% -0.0654 0.0667)
OKLCHoklch(38.12% 0.093 134.4)
XYZxyz(3.8101, 5.8901, 1.5521)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D13 #34134D
analogous
#494D13 #2C4D13 #134D17
triadic
#2C4D13 #132C4D #4D132C
tetradic
#2C4D13 #13494D #34134D #4D1713
square
#2C4D13 #13494D #34134D #4D1713
split-complementary
#2C4D13 #17134D #4D1349
monochromatic
#0E1906 #101C07 #2C4D13 #487E1F #64AF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4D13#FFFFFF#000000##FFFFFF
##2C4D131.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)
#50460A
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#2C4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4d13;
/* rgb */ color: rgb(44, 77, 19);
/* oklch */ color: oklch(38.1% 0.093 134.4);
Tailwind
colors: {
  custom: {
    50: '#687f54',
    500: '#2c4d13',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d13;
$custom-light: #687f54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d13",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 94.138,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.09345,
    "h": 134.4
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#2C4D13
secondary
#633686
accent
#44E49F
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4D13

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

Preview Lab → · Contrast checker → · Palette generator →

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