#2F663F#2F663F

#2F663F is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.2% C 0.086 H 151.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2F663F
RGBrgb(47, 102, 63)
HSLhsl(137, 37%, 29%)
HSVhsv(137, 54%, 40%)
CMYKcmyk(53.9%, 0%, 38.2%, 60%)
CIE-LABlab(38.67, -27.85, 16.64)
CIE-LCHlch(38.67, 32.44, 149.14°)
OKLaboklab(46.16% -0.0757 0.0417)
OKLCHoklch(46.16% 0.086 151.2)
XYZxyz(6.8204, 10.4654, 6.3623)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F663F #662F56
analogous
#3B662F #2F663F #2F665B
triadic
#2F663F #3F2F66 #663F2F
tetradic
#2F663F #2F3B66 #662F56 #665B2F
square
#2F663F #2F3B66 #662F56 #665B2F
split-complementary
#2F663F #5B2F66 #662F3B
monochromatic
#0A150D #1C3C25 #2F663F #429059 #5CB475

Accessibility & contrast

On white

6.79
#2F663F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2F663F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F663F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F663F#FFFFFF#000000##FFFFFF
##2F663F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3C
Deuteranopia (green-blind)
#5F5941
Tritanopia (blue-blind)
#23645C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f663f;
/* rgb */ color: rgb(47, 102, 63);
/* oklch */ color: oklch(46.2% 0.086 151.2);
Tailwind
colors: {
  custom: {
    50: '#6c9274',
    500: '#2f663f',
    950: '#000000',
  },
}
SCSS
$custom: #2f663f;
$custom-light: #6c9274;
$custom-dark: #000000;
JSON
{
  "hex": "#2f663f",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 63
  },
  "hsl": {
    "h": 137.455,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.08638,
    "h": 151.2
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#2F663F
secondary
#985985
accent
#5BACCD
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2F663F

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

Preview Lab → · Contrast checker → · Palette generator →

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