#2C681F#2C681F

#2C681F is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.123 H 140.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2C681F
RGBrgb(44, 104, 31)
HSLhsl(109, 54%, 26%)
HSVhsv(109, 70%, 41%)
CMYKcmyk(57.7%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.79, -34.48, 34.05)
CIE-LCHlch(38.79, 48.45, 135.36°)
OKLaboklab(46.08% -0.0945 0.0784)
OKLCHoklch(46.08% 0.123 140.3)
XYZxyz(6.2361, 10.5345, 3.0008)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C681F #5B1F68
analogous
#51681F #2C681F #1F6837
triadic
#2C681F #1F2C68 #681F2C
tetradic
#2C681F #1F5168 #5B1F68 #68371F
square
#2C681F #1F5168 #5B1F68 #68371F
split-complementary
#2C681F #371F68 #681F51
monochromatic
#0A1807 #183911 #2C681F #40972D #55C53C

Accessibility & contrast

On white

6.76
#2C681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2C681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C681F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C681F#FFFFFF#000000##FFFFFF
##2C681F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#256559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c681f;
/* rgb */ color: rgb(44, 104, 31);
/* oklch */ color: oklch(46.1% 0.123 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c945f',
    500: '#2c681f',
    950: '#000000',
  },
}
SCSS
$custom: #2c681f;
$custom-light: #6c945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c681f",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 109.315,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.12275,
    "h": 140.3
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#2C681F
secondary
#8D469C
accent
#4ADDC3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2C681F

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

Preview Lab → · Contrast checker → · Palette generator →

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