#2F681F#2F681F

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

Color values

HEX#2F681F
RGBrgb(47, 104, 31)
HSLhsl(107, 54%, 26%)
HSVhsv(107, 70%, 41%)
CMYKcmyk(54.8%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.90, -33.56, 34.21)
CIE-LCHlch(38.90, 47.92, 134.45°)
OKLaboklab(46.21% -0.0922 0.0787)
OKLCHoklch(46.21% 0.121 139.5)
XYZxyz(6.3697, 10.6034, 3.0071)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F681F #581F68
analogous
#54681F #2F681F #1F6834
triadic
#2F681F #1F2F68 #681F2F
tetradic
#2F681F #1F5468 #581F68 #68341F
square
#2F681F #1F5468 #581F68 #68341F
split-complementary
#2F681F #341F68 #681F54
monochromatic
#0B1807 #1A3911 #2F681F #44972D #5AC53C

Accessibility & contrast

On white

6.73
#2F681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F681F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F681F#FFFFFF#000000##FFFFFF
##2F681F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F15
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#296459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f681f;
/* rgb */ color: rgb(47, 104, 31);
/* oklch */ color: oklch(46.2% 0.121 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e945f',
    500: '#2f681f',
    950: '#000000',
  },
}
SCSS
$custom: #2f681f;
$custom-light: #6e945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f681f",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 106.849,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.1212,
    "h": 139.5
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#2F681F
secondary
#8A469C
accent
#4ADDBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F681F

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

Preview Lab → · Contrast checker → · Palette generator →

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