#2C6515#2C6515

#2C6515 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.126 H 138.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2C6515
RGBrgb(44, 101, 21)
HSLhsl(103, 66%, 24%)
HSVhsv(103, 79%, 40%)
CMYKcmyk(56.4%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.66, -34.12, 37.12)
CIE-LCHlch(37.66, 50.42, 132.58°)
OKLaboklab(45.12% -0.0942 0.0834)
OKLCHoklch(45.12% 0.126 138.5)
XYZxyz(5.8275, 9.8965, 2.3125)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6515 #4E1565
analogous
#546515 #2C6515 #156526
triadic
#2C6515 #152C65 #65152C
tetradic
#2C6515 #155465 #4E1565 #652615
square
#2C6515 #155465 #4E1565 #652615
split-complementary
#2C6515 #261565 #651554
monochromatic
#0B1905 #16320A #2C6515 #429820 #58CA2A

Accessibility & contrast

On white

7.05
#2C6515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2C6515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6515
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6515#FFFFFF#000000##FFFFFF
##2C65151.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c6515;
/* rgb */ color: rgb(44, 101, 21);
/* oklch */ color: oklch(45.1% 0.126 138.5);
Tailwind
colors: {
  custom: {
    50: '#6c9159',
    500: '#2c6515',
    950: '#000000',
  },
}
SCSS
$custom: #2c6515;
$custom-light: #6c9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6515",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 102.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.12578,
    "h": 138.5
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#2C6515
secondary
#803A9C
accent
#3FE9B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6515

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

Preview Lab → · Contrast checker → · Palette generator →

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