#2F6738#2F6738

#2F6738 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.096 H 147.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2F6738
RGBrgb(47, 103, 56)
HSLhsl(130, 37%, 29%)
HSVhsv(130, 54%, 40%)
CMYKcmyk(54.4%, 0%, 45.6%, 59.6%)
CIE-LABlab(38.88, -29.64, 21.01)
CIE-LCHlch(38.88, 36.33, 144.68°)
OKLaboklab(46.3% -0.0804 0.0517)
OKLCHoklch(46.3% 0.096 147.3)
XYZxyz(6.7359, 10.5898, 5.4297)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6738 #672F5E
analogous
#42672F #2F6738 #2F6754
triadic
#2F6738 #382F67 #67382F
tetradic
#2F6738 #2F4267 #672F5E #67542F
square
#2F6738 #2F4267 #672F5E #67542F
split-complementary
#2F6738 #542F67 #672F42
monochromatic
#0A150B #1C3D21 #2F6738 #42914F #5CB56A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6738#FFFFFF#000000##FFFFFF
##2F67381.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)
#685F34
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#25655C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6738;
/* rgb */ color: rgb(47, 103, 56);
/* oklch */ color: oklch(46.3% 0.096 147.3);
Tailwind
colors: {
  custom: {
    50: '#6c936f',
    500: '#2f6738',
    950: '#000000',
  },
}
SCSS
$custom: #2f6738;
$custom-light: #6c936f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6738",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 56
  },
  "hsl": {
    "h": 129.643,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.09559,
    "h": 147.3
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#2F6738
secondary
#98598E
accent
#5ABBCD
background
#F6F9F6
surface
#ECF1EC
border
#C7CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2F6738

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

Preview Lab → · Contrast checker → · Palette generator →

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