#2C5416#2C5416

#2C5416 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.101 H 136.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2C5416
RGBrgb(44, 84, 22)
HSLhsl(99, 58%, 21%)
HSVhsv(99, 74%, 33%)
CMYKcmyk(47.6%, 0%, 73.8%, 67.1%)
CIE-LABlab(31.66, -26.51, 30.58)
CIE-LCHlch(31.66, 40.48, 130.92°)
OKLaboklab(40.19% -0.0735 0.0698)
OKLCHoklch(40.19% 0.101 136.5)
XYZxyz(4.3537, 6.9338, 1.8678)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5416 #3E1654
analogous
#4B5416 #2C5416 #16541F
triadic
#2C5416 #162C54 #54162C
tetradic
#2C5416 #164B54 #3E1654 #541F16
square
#2C5416 #164B54 #3E1654 #541F16
split-complementary
#2C5416 #1F1654 #54164B
monochromatic
#0D1806 #132409 #2C5416 #458423 #5FB52F

Accessibility & contrast

On white

8.80
#2C5416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C5416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5416
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5416#FFFFFF#000000##FFFFFF
##2C54161.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#2A5147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5416;
/* rgb */ color: rgb(44, 84, 22);
/* oklch */ color: oklch(40.2% 0.101 136.5);
Tailwind
colors: {
  custom: {
    50: '#698457',
    500: '#2c5416',
    950: '#000000',
  },
}
SCSS
$custom: #2c5416;
$custom-light: #698457;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5416",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 98.71,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.10143,
    "h": 136.5
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#2C5416
secondary
#6F3A8B
accent
#46E2AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5416

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

Preview Lab → · Contrast checker → · Palette generator →

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