#2C7310#2C7310

#2C7310 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.146 H 139.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2C7310
RGBrgb(44, 115, 16)
HSLhsl(103, 76%, 26%)
HSVhsv(103, 86%, 45%)
CMYKcmyk(61.7%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.51, -40.03, 43.40)
CIE-LCHlch(42.51, 59.05, 132.69°)
OKLaboklab(49.12% -0.1104 0.0957)
OKLCHoklch(49.12% 0.146 139.1)
XYZxyz(7.2627, 12.8337, 2.5845)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7310 #571073
analogous
#5D7310 #2C7310 #107325
triadic
#2C7310 #102C73 #73102C
tetradic
#2C7310 #105D73 #571073 #732510
square
#2C7310 #105D73 #571073 #732510
split-complementary
#2C7310 #251073 #73105D
monochromatic
#0A1B04 #173D09 #2C7310 #41A917 #55DE1F

Accessibility & contrast

On white

5.89
#2C7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7310
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7310#FFFFFF#000000##FFFFFF
##2C73101.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#246F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7310;
/* rgb */ color: rgb(44, 115, 16);
/* oklch */ color: oklch(49.1% 0.146 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f9c59',
    500: '#2c7310',
    950: '#000000',
  },
}
SCSS
$custom: #2c7310;
$custom-light: #6f9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7310",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 103.03,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.1461,
    "h": 139.1
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#2C7310
secondary
#8934AA
accent
#36F2BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7310

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

Preview Lab → · Contrast checker → · Palette generator →

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