#2C5F15#2C5F15

#2C5F15 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.118 H 137.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5F15
RGBrgb(44, 95, 21)
HSLhsl(101, 64%, 23%)
HSVhsv(101, 78%, 37%)
CMYKcmyk(53.7%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.54, -31.56, 35.02)
CIE-LCHlch(35.54, 47.15, 132.03°)
OKLaboklab(43.39% -0.0873 0.079)
OKLCHoklch(43.39% 0.118 137.9)
XYZxyz(5.2661, 8.7737, 2.1253)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F15 #48155F
analogous
#515F15 #2C5F15 #155F23
triadic
#2C5F15 #152C5F #5F152C
tetradic
#2C5F15 #15515F #48155F #5F2315
square
#2C5F15 #15515F #48155F #5F2315
split-complementary
#2C5F15 #23155F #5F1551
monochromatic
#0C1906 #152D0A #2C5F15 #439120 #5AC32B

Accessibility & contrast

On white

7.62
#2C5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5F15
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F15#FFFFFF#000000##FFFFFF
##2C5F151.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#285B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5f15;
/* rgb */ color: rgb(44, 95, 21);
/* oklch */ color: oklch(43.4% 0.118 137.9);
Tailwind
colors: {
  custom: {
    50: '#6b8d58',
    500: '#2c5f15',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f15;
$custom-light: #6b8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f15",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 101.351,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.11772,
    "h": 137.9
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#2C5F15
secondary
#793A96
accent
#41E7B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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