#2C7210#2C7210

#2C7210 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.145 H 139.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C7210
RGBrgb(44, 114, 16)
HSLhsl(103, 75%, 25%)
HSVhsv(103, 86%, 45%)
CMYKcmyk(61.4%, 0%, 86%, 55.3%)
CIE-LABlab(42.16, -39.65, 43.09)
CIE-LCHlch(42.16, 58.55, 132.62°)
OKLaboklab(48.84% -0.1093 0.0951)
OKLCHoklch(48.84% 0.145 139)
XYZxyz(7.1493, 12.6069, 2.5467)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7210 #561072
analogous
#5D7210 #2C7210 #107225
triadic
#2C7210 #102C72 #72102C
tetradic
#2C7210 #105D72 #561072 #722510
square
#2C7210 #105D72 #561072 #722510
split-complementary
#2C7210 #251072 #72105D
monochromatic
#0A1B04 #173C08 #2C7210 #41A818 #55DD1F

Accessibility & contrast

On white

5.96
#2C7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2C7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7210
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7210#FFFFFF#000000##FFFFFF
##2C72101.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#246E60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7210;
/* rgb */ color: rgb(44, 114, 16);
/* oklch */ color: oklch(48.8% 0.145 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f9b59',
    500: '#2c7210',
    950: '#000000',
  },
}
SCSS
$custom: #2c7210;
$custom-light: #6f9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7210",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 102.857,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.14488,
    "h": 139
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#2C7210
secondary
#8834A9
accent
#36F2BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7210

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

Preview Lab → · Contrast checker → · Palette generator →

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