#2F681C#2F681C

#2F681C is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.123 H 139.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2F681C
RGBrgb(47, 104, 28)
HSLhsl(105, 58%, 26%)
HSVhsv(105, 73%, 41%)
CMYKcmyk(54.8%, 0%, 73.1%, 59.2%)
CIE-LABlab(38.88, -33.85, 35.52)
CIE-LCHlch(38.88, 49.07, 133.62°)
OKLaboklab(46.18% -0.0932 0.081)
OKLCHoklch(46.18% 0.123 139)
XYZxyz(6.3320, 10.5883, 2.8085)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F681C #551C68
analogous
#55681C #2F681C #1C682F
triadic
#2F681C #1C2F68 #681C2F
tetradic
#2F681C #1C5568 #551C68 #682F1C
square
#2F681C #1C5568 #551C68 #682F1C
split-complementary
#2F681C #2F1C68 #681C55
monochromatic
#0B1806 #19380F #2F681C #459829 #5BC836

Accessibility & contrast

On white

6.74
#2F681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F681C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F681C#FFFFFF#000000##FFFFFF
##2F681C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F11
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#2A6459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f681c;
/* rgb */ color: rgb(47, 104, 28);
/* oklch */ color: oklch(46.2% 0.123 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e945d',
    500: '#2f681c',
    950: '#000000',
  },
}
SCSS
$custom: #2f681c;
$custom-light: #6e945d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f681c",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 105,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.12349,
    "h": 139
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#2F681C
secondary
#86439D
accent
#47E1BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F681C

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

Preview Lab → · Contrast checker → · Palette generator →

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