#2C5316#2C5316

#2C5316 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.100 H 136.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2C5316
RGBrgb(44, 83, 22)
HSLhsl(98, 58%, 21%)
HSVhsv(98, 73%, 33%)
CMYKcmyk(47%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.30, -26.04, 30.21)
CIE-LCHlch(31.30, 39.88, 130.76°)
OKLaboklab(39.9% -0.0723 0.0691)
OKLCHoklch(39.9% 0.1 136.3)
XYZxyz(4.2767, 6.7797, 1.8422)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5316 #3D1653
analogous
#4A5316 #2C5316 #16531F
triadic
#2C5316 #162C53 #53162C
tetradic
#2C5316 #164A53 #3D1653 #531F16
square
#2C5316 #164A53 #3D1653 #531F16
split-complementary
#2C5316 #1F1653 #53164A
monochromatic
#0D1806 #122309 #2C5316 #468323 #5FB430

Accessibility & contrast

On white

8.91
#2C5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5316
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5316#FFFFFF#000000##FFFFFF
##2C53161.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#2A5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5316;
/* rgb */ color: rgb(44, 83, 22);
/* oklch */ color: oklch(39.9% 0.100 136.3);
Tailwind
colors: {
  custom: {
    50: '#698457',
    500: '#2c5316',
    950: '#000000',
  },
}
SCSS
$custom: #2c5316;
$custom-light: #698457;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5316",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 98.361,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.09995,
    "h": 136.3
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#2C5316
secondary
#6E3A8A
accent
#46E1A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2C5316

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

Preview Lab → · Contrast checker → · Palette generator →

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