#2C5A15#2C5A15

#2C5A15 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.111 H 137.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2C5A15
RGBrgb(44, 90, 21)
HSLhsl(100, 62%, 22%)
HSVhsv(100, 77%, 35%)
CMYKcmyk(51.1%, 0%, 76.7%, 64.7%)
CIE-LABlab(33.78, -29.36, 33.23)
CIE-LCHlch(33.78, 44.34, 131.46°)
OKLaboklab(41.93% -0.0813 0.0752)
OKLCHoklch(41.93% 0.111 137.2)
XYZxyz(4.8301, 7.9016, 1.9800)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A15 #43155A
analogous
#4F5A15 #2C5A15 #155A21
triadic
#2C5A15 #152C5A #5A152C
tetradic
#2C5A15 #154F5A #43155A #5A2115
square
#2C5A15 #154F5A #43155A #5A2115
split-complementary
#2C5A15 #21155A #5A154F
monochromatic
#0C1906 #142809 #2C5A15 #448C21 #5DBD2C

Accessibility & contrast

On white

8.14
#2C5A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C5A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5A15
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A15#FFFFFF#000000##FFFFFF
##2C5A151.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#29574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5a15;
/* rgb */ color: rgb(44, 90, 21);
/* oklch */ color: oklch(41.9% 0.111 137.2);
Tailwind
colors: {
  custom: {
    50: '#6a8957',
    500: '#2c5a15',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a15;
$custom-light: #6a8957;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a15",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.11079,
    "h": 137.2
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#2C5A15
secondary
#743992
accent
#43E5AF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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