#2C6519#2C6519

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

Color values

HEX#2C6519
RGBrgb(44, 101, 25)
HSLhsl(105, 60%, 25%)
HSVhsv(105, 75%, 40%)
CMYKcmyk(56.4%, 0%, 75.2%, 60.4%)
CIE-LABlab(37.69, -33.79, 35.54)
CIE-LCHlch(37.69, 49.04, 133.56°)
OKLaboklab(45.16% -0.093 0.0807)
OKLCHoklch(45.16% 0.123 139.1)
XYZxyz(5.8676, 9.9126, 2.5236)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6519 #521965
analogous
#526519 #2C6519 #19652C
triadic
#2C6519 #192C65 #65192C
tetradic
#2C6519 #195265 #521965 #652C19
square
#2C6519 #195265 #521965 #652C19
split-complementary
#2C6519 #2C1965 #651952
monochromatic
#0B1906 #17340D #2C6519 #419625 #57C731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6519#FFFFFF#000000##FFFFFF
##2C65191.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)
#685C0D
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c6519;
/* rgb */ color: rgb(44, 101, 25);
/* oklch */ color: oklch(45.2% 0.123 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c915b',
    500: '#2c6519',
    950: '#000000',
  },
}
SCSS
$custom: #2c6519;
$custom-light: #6c915b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6519",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 105,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.12313,
    "h": 139.1
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#2C6519
secondary
#843F9B
accent
#44E3BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6519

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

Preview Lab → · Contrast checker → · Palette generator →

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