#2C5815#2C5815

#2C5815 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.3% C 0.108 H 136.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2C5815
RGBrgb(44, 88, 21)
HSLhsl(99, 61%, 21%)
HSVhsv(99, 76%, 35%)
CMYKcmyk(50%, 0%, 76.1%, 65.5%)
CIE-LABlab(33.07, -28.45, 32.50)
CIE-LCHlch(33.07, 43.20, 131.20°)
OKLaboklab(41.35% -0.0789 0.0737)
OKLCHoklch(41.35% 0.108 136.9)
XYZxyz(4.6636, 7.5688, 1.9245)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5815 #411558
analogous
#4E5815 #2C5815 #155820
triadic
#2C5815 #152C58 #58152C
tetradic
#2C5815 #154E58 #411558 #582015
square
#2C5815 #154E58 #411558 #582015
split-complementary
#2C5815 #201558 #58154E
monochromatic
#0C1906 #132709 #2C5815 #458921 #5DBB2D

Accessibility & contrast

On white

8.35
#2C5815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C5815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5815
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5815#FFFFFF#000000##FFFFFF
##2C58151.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#2A554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5815;
/* rgb */ color: rgb(44, 88, 21);
/* oklch */ color: oklch(41.3% 0.108 136.9);
Tailwind
colors: {
  custom: {
    50: '#6a8757',
    500: '#2c5815',
    950: '#000000',
  },
}
SCSS
$custom: #2c5815;
$custom-light: #6a8757;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5815",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 99.403,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.10797,
    "h": 136.9
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#2C5815
secondary
#723990
accent
#43E5AD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5815

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

Preview Lab → · Contrast checker → · Palette generator →

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