#2F6536#2F6536

#2F6536 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.7% C 0.095 H 146.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F6536
RGBrgb(47, 101, 54)
HSLhsl(128, 36%, 29%)
HSVhsv(128, 53%, 40%)
CMYKcmyk(53.5%, 0%, 46.5%, 60.4%)
CIE-LABlab(38.16, -29.07, 21.23)
CIE-LCHlch(38.16, 35.99, 143.86°)
OKLaboklab(45.69% -0.0789 0.0521)
OKLCHoklch(45.69% 0.095 146.5)
XYZxyz(6.4914, 10.1775, 5.1117)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6536 #652F5E
analogous
#43652F #2F6536 #2F6551
triadic
#2F6536 #362F65 #65362F
tetradic
#2F6536 #2F4365 #652F5E #65512F
square
#2F6536 #2F4365 #652F5E #65512F
split-complementary
#2F6536 #512F65 #652F43
monochromatic
#0A150B #1C3B20 #2F6536 #428F4C #5BB367

Accessibility & contrast

On white

6.92
#2F6536 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F6536 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6536
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6536#FFFFFF#000000##FFFFFF
##2F65361.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D32
Deuteranopia (green-blind)
#5F5839
Tritanopia (blue-blind)
#26635A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6536;
/* rgb */ color: rgb(47, 101, 54);
/* oklch */ color: oklch(45.7% 0.095 146.5);
Tailwind
colors: {
  custom: {
    50: '#6c916e',
    500: '#2f6536',
    950: '#000000',
  },
}
SCSS
$custom: #2f6536;
$custom-light: #6c916e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6536",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 54
  },
  "hsl": {
    "h": 127.778,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.09455,
    "h": 146.5
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#2F6536
secondary
#97598F
accent
#5BBECC
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070D07
muted
#7A7D7A

Preview Lab

Preview with #2F6536

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

Preview Lab → · Contrast checker → · Palette generator →

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