#2C4714#2C4714

#2C4714 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.083 H 132.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2C4714
RGBrgb(44, 71, 20)
HSLhsl(92, 56%, 18%)
HSVhsv(92, 72%, 28%)
CMYKcmyk(38%, 0%, 71.8%, 72.2%)
CIE-LABlab(27.00, -20.29, 26.57)
CIE-LCHlch(27.00, 33.43, 127.37°)
OKLaboklab(36.38% -0.0568 0.0611)
OKLCHoklch(36.38% 0.083 132.9)
XYZxyz(3.4182, 5.0923, 1.4645)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4714 #2F1447
analogous
#454714 #2C4714 #144716
triadic
#2C4714 #142C47 #47142C
tetradic
#2C4714 #144547 #2F1447 #471614
square
#2C4714 #144547 #2F1447 #471614
split-complementary
#2C4714 #161447 #471445
monochromatic
#0F1807 #0F1807 #2C4714 #4A7721 #67A62F

Accessibility & contrast

On white

10.40
#2C4714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C4714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4714
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4714#FFFFFF#000000##FFFFFF
##2C47141.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410E
Deuteranopia (green-blind)
#463F18
Tritanopia (blue-blind)
#2C443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c4714;
/* rgb */ color: rgb(44, 71, 20);
/* oklch */ color: oklch(36.4% 0.083 132.9);
Tailwind
colors: {
  custom: {
    50: '#677a54',
    500: '#2c4714',
    950: '#000000',
  },
}
SCSS
$custom: #2c4714;
$custom-light: #677a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4714",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 20
  },
  "hsl": {
    "h": 91.765,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.0834,
    "h": 132.9
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#2C4714
secondary
#5E387F
accent
#48DF98
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4714

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

Preview Lab → · Contrast checker → · Palette generator →

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