#2F682F#2F682F

#2F682F is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.4% C 0.107 H 143.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2F682F
RGBrgb(47, 104, 47)
HSLhsl(120, 38%, 30%)
HSVhsv(120, 55%, 41%)
CMYKcmyk(54.8%, 0%, 54.8%, 59.2%)
CIE-LABlab(39.09, -31.57, 26.31)
CIE-LCHlch(39.09, 41.10, 140.19°)
OKLaboklab(46.42% -0.0858 0.0632)
OKLCHoklch(46.42% 0.107 143.6)
XYZxyz(6.6353, 10.7097, 4.4063)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F682F #682F68
analogous
#4C682F #2F682F #2F684C
triadic
#2F682F #2F2F68 #682F2F
tetradic
#2F682F #2F4C68 #682F68 #684C2F
square
#2F682F #2F4C68 #682F68 #684C2F
split-complementary
#2F682F #4C2F68 #682F4C
monochromatic
#0A150A #1C3E1C #2F682F #429242 #5CB55C

Accessibility & contrast

On white

6.68
#2F682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F682F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F682F#FFFFFF#000000##FFFFFF
##2F682F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#625A33
Tritanopia (blue-blind)
#27655B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f682f;
/* rgb */ color: rgb(47, 104, 47);
/* oklch */ color: oklch(46.4% 0.107 143.6);
Tailwind
colors: {
  custom: {
    50: '#6d9469',
    500: '#2f682f',
    950: '#000000',
  },
}
SCSS
$custom: #2f682f;
$custom-light: #6d9469;
$custom-dark: #000000;
JSON
{
  "hex": "#2f682f",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.10661,
    "h": 143.6
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#2F682F
secondary
#995999
accent
#5ACECE
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2F682F

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

Preview Lab → · Contrast checker → · Palette generator →

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