#2C5813#2C5813

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

Color values

HEX#2C5813
RGBrgb(44, 88, 19)
HSLhsl(98, 64%, 21%)
HSVhsv(98, 78%, 35%)
CMYKcmyk(50%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.05, -28.62, 33.34)
CIE-LCHlch(33.05, 43.94, 130.65°)
OKLaboklab(41.33% -0.0795 0.0751)
OKLCHoklch(41.33% 0.109 136.6)
XYZxyz(4.6458, 7.5616, 1.8307)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5813 #3F1358
analogous
#4E5813 #2C5813 #13581C
triadic
#2C5813 #132C58 #58132C
tetradic
#2C5813 #134E58 #3F1358 #581C13
square
#2C5813 #134E58 #3F1358 #581C13
split-complementary
#2C5813 #1C1358 #58134E
monochromatic
#0D1905 #132608 #2C5813 #458A1E #5EBD29

Accessibility & contrast

On white

8.36
#2C5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5813
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5813#FFFFFF#000000##FFFFFF
##2C58131.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5813;
/* rgb */ color: rgb(44, 88, 19);
/* oklch */ color: oklch(41.3% 0.109 136.6);
Tailwind
colors: {
  custom: {
    50: '#6a8756',
    500: '#2c5813',
    950: '#000000',
  },
}
SCSS
$custom: #2c5813;
$custom-light: #6a8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5813",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 98.261,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.10938,
    "h": 136.6
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#2C5813
secondary
#703790
accent
#40E7AB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5813

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

Preview Lab → · Contrast checker → · Palette generator →

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