#2C5216#2C5216

#2C5216 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.098 H 136.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C5216
RGBrgb(44, 82, 22)
HSLhsl(98, 58%, 20%)
HSVhsv(98, 73%, 32%)
CMYKcmyk(46.3%, 0%, 73.2%, 67.8%)
CIE-LABlab(30.94, -25.57, 29.83)
CIE-LCHlch(30.94, 39.29, 130.60°)
OKLaboklab(39.61% -0.071 0.0683)
OKLCHoklch(39.61% 0.098 136.1)
XYZxyz(4.2007, 6.6277, 1.8168)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5216 #3C1652
analogous
#4A5216 #2C5216 #16521E
triadic
#2C5216 #162C52 #52162C
tetradic
#2C5216 #164A52 #3C1652 #521E16
square
#2C5216 #164A52 #3C1652 #521E16
split-complementary
#2C5216 #1E1652 #52164A
monochromatic
#0D1806 #122209 #2C5216 #468223 #60B330

Accessibility & contrast

On white

9.03
#2C5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5216
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5216#FFFFFF#000000##FFFFFF
##2C52161.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#2B4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c5216;
/* rgb */ color: rgb(44, 82, 22);
/* oklch */ color: oklch(39.6% 0.098 136.1);
Tailwind
colors: {
  custom: {
    50: '#698357',
    500: '#2c5216',
    950: '#000000',
  },
}
SCSS
$custom: #2c5216;
$custom-light: #698357;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5216",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 98,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3961,
    "c": 0.09847,
    "h": 136.1
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#2C5216
secondary
#6C3A89
accent
#47E1A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5216

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

Preview Lab → · Contrast checker → · Palette generator →

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