#2C5016#2C5016

#2C5016 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.095 H 135.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2C5016
RGBrgb(44, 80, 22)
HSLhsl(97, 57%, 20%)
HSVhsv(97, 73%, 31%)
CMYKcmyk(45%, 0%, 72.5%, 68.6%)
CIE-LABlab(30.23, -24.60, 29.07)
CIE-LCHlch(30.23, 38.09, 130.24°)
OKLaboklab(39.03% -0.0684 0.0667)
OKLCHoklch(39.03% 0.095 135.7)
XYZxyz(4.0521, 6.3305, 1.7673)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5016 #3A1650
analogous
#495016 #2C5016 #16501D
triadic
#2C5016 #162C50 #50162C
tetradic
#2C5016 #164950 #3A1650 #501D16
square
#2C5016 #164950 #3A1650 #501D16
split-complementary
#2C5016 #1D1650 #501649
monochromatic
#0D1807 #122009 #2C5016 #468023 #61B030

Accessibility & contrast

On white

9.27
#2C5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5016
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5016#FFFFFF#000000##FFFFFF
##2C50161.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#2B4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c5016;
/* rgb */ color: rgb(44, 80, 22);
/* oklch */ color: oklch(39.0% 0.095 135.7);
Tailwind
colors: {
  custom: {
    50: '#698156',
    500: '#2c5016',
    950: '#000000',
  },
}
SCSS
$custom: #2c5016;
$custom-light: #698156;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5016",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 97.241,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.09549,
    "h": 135.7
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#2C5016
secondary
#6A3A87
accent
#48E0A6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5016

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

Preview Lab → · Contrast checker → · Palette generator →

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