#2C4D16#2C4D16

#2C4D16 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.091 H 135.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2C4D16
RGBrgb(44, 77, 22)
HSLhsl(96, 56%, 19%)
HSVhsv(96, 71%, 30%)
CMYKcmyk(42.9%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.16, -23.13, 27.92)
CIE-LCHlch(29.16, 36.26, 129.65°)
OKLaboklab(38.15% -0.0644 0.0642)
OKLCHoklch(38.15% 0.091 135.1)
XYZxyz(3.8373, 5.9010, 1.6957)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D16 #37164D
analogous
#484D16 #2C4D16 #164D1C
triadic
#2C4D16 #162C4D #4D162C
tetradic
#2C4D16 #16484D #37164D #4D1C16
square
#2C4D16 #16484D #37164D #4D1C16
split-complementary
#2C4D16 #1C164D #4D1648
monochromatic
#0E1807 #111D08 #2C4D16 #477D24 #62AC31

Accessibility & contrast

On white

9.63
#2C4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4D16
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D16#FFFFFF#000000##FFFFFF
##2C4D161.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4d16;
/* rgb */ color: rgb(44, 77, 22);
/* oklch */ color: oklch(38.2% 0.091 135.1);
Tailwind
colors: {
  custom: {
    50: '#687f56',
    500: '#2c4d16',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d16;
$custom-light: #687f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d16",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 96,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.09093,
    "h": 135.1
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#2C4D16
secondary
#673A85
accent
#49DFA3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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