#2F681B#2F681B

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

Color values

HEX#2F681B
RGBrgb(47, 104, 27)
HSLhsl(104, 59%, 26%)
HSVhsv(104, 74%, 41%)
CMYKcmyk(54.8%, 0%, 74%, 59.2%)
CIE-LABlab(38.87, -33.94, 35.95)
CIE-LCHlch(38.87, 49.44, 133.36°)
OKLaboklab(46.17% -0.0935 0.0818)
OKLCHoklch(46.17% 0.124 138.8)
XYZxyz(6.3202, 10.5836, 2.7465)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F681B #541B68
analogous
#55681B #2F681B #1B682D
triadic
#2F681B #1B2F68 #681B2F
tetradic
#2F681B #1B5568 #541B68 #682D1B
square
#2F681B #1B5568 #541B68 #682D1B
split-complementary
#2F681B #2D1B68 #681B55
monochromatic
#0B1806 #19370E #2F681B #459928 #5BC934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F681B#FFFFFF#000000##FFFFFF
##2F681B1.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)
#6B5F0F
Deuteranopia (green-blind)
#645A22
Tritanopia (blue-blind)
#2A6459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f681b;
/* rgb */ color: rgb(47, 104, 27);
/* oklch */ color: oklch(46.2% 0.124 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e945c',
    500: '#2f681b',
    950: '#000000',
  },
}
SCSS
$custom: #2f681b;
$custom-light: #6e945c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f681b",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 104.416,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.12423,
    "h": 138.8
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#2F681B
secondary
#85429D
accent
#46E2B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F681B

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

Preview Lab → · Contrast checker → · Palette generator →

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