#2F6728#2F6728

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

Color values

HEX#2F6728
RGBrgb(47, 103, 40)
HSLhsl(113, 44%, 28%)
HSVhsv(113, 61%, 40%)
CMYKcmyk(54.4%, 0%, 61.2%, 59.6%)
CIE-LABlab(38.65, -32.10, 29.52)
CIE-LCHlch(38.65, 43.60, 137.40°)
OKLaboklab(46.03% -0.0876 0.0697)
OKLCHoklch(46.03% 0.112 141.5)
XYZxyz(6.4052, 10.4575, 3.6881)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6728 #602867
analogous
#4E6728 #2F6728 #286740
triadic
#2F6728 #282F67 #67282F
tetradic
#2F6728 #284E67 #602867 #674028
square
#2F6728 #284E67 #602867 #674028
split-complementary
#2F6728 #402867 #67284E
monochromatic
#0A1609 #1B3B17 #2F6728 #439339 #5BBB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6728#FFFFFF#000000##FFFFFF
##2F67281.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)
#6A5E22
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#286459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6728;
/* rgb */ color: rgb(47, 103, 40);
/* oklch */ color: oklch(46.0% 0.112 141.5);
Tailwind
colors: {
  custom: {
    50: '#6d9364',
    500: '#2f6728',
    950: '#000000',
  },
}
SCSS
$custom: #2f6728;
$custom-light: #6d9364;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6728",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 113.333,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.11195,
    "h": 141.5
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#2F6728
secondary
#92519A
accent
#54D4C6
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2F6728

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

Preview Lab → · Contrast checker → · Palette generator →

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