#2C7515#2C7515

#2C7515 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.146 H 139.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2C7515
RGBrgb(44, 117, 21)
HSLhsl(106, 70%, 27%)
HSVhsv(106, 82%, 46%)
CMYKcmyk(62.4%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.23, -40.50, 42.52)
CIE-LCHlch(43.23, 58.72, 133.61°)
OKLaboklab(49.72% -0.1114 0.0946)
OKLCHoklch(49.72% 0.146 139.6)
XYZxyz(7.5350, 13.3115, 2.8816)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7515 #5E1575
analogous
#5C7515 #2C7515 #15752E
triadic
#2C7515 #152C75 #75152C
tetradic
#2C7515 #155C75 #5E1575 #752E15
square
#2C7515 #155C75 #5E1575 #752E15
split-complementary
#2C7515 #2E1575 #75155C
monochromatic
#0A1A05 #18410C #2C7515 #40A91E #55D92B

Accessibility & contrast

On white

5.73
#2C7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2C7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7515
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7515#FFFFFF#000000##FFFFFF
##2C75151.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#237163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7515;
/* rgb */ color: rgb(44, 117, 21);
/* oklch */ color: oklch(49.7% 0.146 139.6);
Tailwind
colors: {
  custom: {
    50: '#6f9d5b',
    500: '#2c7515',
    950: '#000000',
  },
}
SCSS
$custom: #2c7515;
$custom-light: #6f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7515",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 105.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.14614,
    "h": 139.6
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#2C7515
secondary
#903BAB
accent
#3BECC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7515

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

Preview Lab → · Contrast checker → · Palette generator →

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