#2C501F#2C501F

#2C501F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.087 H 138.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2C501F
RGBrgb(44, 80, 31)
HSLhsl(104, 44%, 22%)
HSVhsv(104, 61%, 31%)
CMYKcmyk(45%, 0%, 61.2%, 68.6%)
CIE-LABlab(30.33, -23.57, 24.54)
CIE-LCHlch(30.33, 34.03, 133.85°)
OKLaboklab(39.14% -0.0648 0.0581)
OKLCHoklch(39.14% 0.087 138.2)
XYZxyz(4.1546, 6.3715, 2.3070)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C501F #431F50
analogous
#45501F #2C501F #1F502B
triadic
#2C501F #1F2C50 #501F2C
tetradic
#2C501F #1F4550 #431F50 #502B1F
square
#2C501F #1F4550 #431F50 #502B1F
split-complementary
#2C501F #2B1F50 #501F45
monochromatic
#0C1609 #14240E #2C501F #447C30 #5DA841

Accessibility & contrast

On white

9.23
#2C501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C501F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C501F#FFFFFF#000000##FFFFFF
##2C501F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53491A
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#2A4D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c501f;
/* rgb */ color: rgb(44, 80, 31);
/* oklch */ color: oklch(39.1% 0.087 138.2);
Tailwind
colors: {
  custom: {
    50: '#68815c',
    500: '#2c501f',
    950: '#000000',
  },
}
SCSS
$custom: #2c501f;
$custom-light: #68815c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c501f",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 104.082,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.08703,
    "h": 138.2
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#2C501F
secondary
#744685
accent
#54D4B2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C501F

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

Preview Lab → · Contrast checker → · Palette generator →

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