#2C6517#2C6517

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

Color values

HEX#2C6517
RGBrgb(44, 101, 23)
HSLhsl(104, 63%, 24%)
HSVhsv(104, 77%, 40%)
CMYKcmyk(56.4%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.67, -33.96, 36.35)
CIE-LCHlch(37.67, 49.74, 133.05°)
OKLaboklab(45.14% -0.0936 0.0821)
OKLCHoklch(45.14% 0.124 138.8)
XYZxyz(5.8468, 9.9042, 2.4141)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6517 #501765
analogous
#536517 #2C6517 #176529
triadic
#2C6517 #172C65 #65172C
tetradic
#2C6517 #175365 #501765 #652917
square
#2C6517 #175365 #501765 #652917
split-complementary
#2C6517 #291765 #651753
monochromatic
#0B1906 #16330C #2C6517 #429722 #57C92E

Accessibility & contrast

On white

7.04
#2C6517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C6517
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6517#FFFFFF#000000##FFFFFF
##2C65171.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c6517;
/* rgb */ color: rgb(44, 101, 23);
/* oklch */ color: oklch(45.1% 0.124 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c915a',
    500: '#2c6517',
    950: '#000000',
  },
}
SCSS
$custom: #2c6517;
$custom-light: #6c915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6517",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 103.846,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.12449,
    "h": 138.8
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#2C6517
secondary
#823C9B
accent
#42E6BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6517

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

Preview Lab → · Contrast checker → · Palette generator →

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