#2C5116#2C5116

#2C5116 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.097 H 135.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2C5116
RGBrgb(44, 81, 22)
HSLhsl(98, 57%, 20%)
HSVhsv(98, 73%, 32%)
CMYKcmyk(45.7%, 0%, 72.8%, 68.2%)
CIE-LABlab(30.59, -25.09, 29.45)
CIE-LCHlch(30.59, 38.69, 130.42°)
OKLaboklab(39.32% -0.0697 0.0675)
OKLCHoklch(39.32% 0.097 135.9)
XYZxyz(4.1258, 6.4780, 1.7919)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5116 #3B1651
analogous
#4A5116 #2C5116 #16511D
triadic
#2C5116 #162C51 #51162C
tetradic
#2C5116 #164A51 #3B1651 #511D16
square
#2C5116 #164A51 #3B1651 #511D16
split-complementary
#2C5116 #1D1651 #51164A
monochromatic
#0D1807 #122109 #2C5116 #468123 #60B130

Accessibility & contrast

On white

9.15
#2C5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5116
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5116#FFFFFF#000000##FFFFFF
##2C51161.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#2B4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c5116;
/* rgb */ color: rgb(44, 81, 22);
/* oklch */ color: oklch(39.3% 0.097 135.9);
Tailwind
colors: {
  custom: {
    50: '#698257',
    500: '#2c5116',
    950: '#000000',
  },
}
SCSS
$custom: #2c5116;
$custom-light: #698257;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5116",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 97.627,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.09699,
    "h": 135.9
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#2C5116
secondary
#6B3A88
accent
#47E1A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5116

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

Preview Lab → · Contrast checker → · Palette generator →

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