#2F6A2A#2F6A2A

#2F6A2A is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.114 H 142.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2F6A2A
RGBrgb(47, 106, 42)
HSLhsl(115, 43%, 29%)
HSVhsv(115, 60%, 42%)
CMYKcmyk(55.7%, 0%, 60.4%, 58.4%)
CIE-LABlab(39.71, -33.15, 29.72)
CIE-LCHlch(39.71, 44.52, 138.12°)
OKLaboklab(46.91% -0.0904 0.0703)
OKLCHoklch(46.91% 0.114 142.1)
XYZxyz(6.7439, 11.0790, 3.9731)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A2A #652A6A
analogous
#4F6A2A #2F6A2A #2A6A45
triadic
#2F6A2A #2A2F6A #6A2A2F
tetradic
#2F6A2A #2A4F6A #652A6A #6A452A
square
#2F6A2A #2A4F6A #652A6A #6A452A
split-complementary
#2F6A2A #452A6A #6A2A4F
monochromatic
#0A1609 #1C3E19 #2F6A2A #42963B #5BBB53

Accessibility & contrast

On white

6.53
#2F6A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2F6A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A2A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A2A#FFFFFF#000000##FFFFFF
##2F6A2A1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6124
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#27675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6a2a;
/* rgb */ color: rgb(47, 106, 42);
/* oklch */ color: oklch(46.9% 0.114 142.1);
Tailwind
colors: {
  custom: {
    50: '#6d9566',
    500: '#2f6a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a2a;
$custom-light: #6d9566;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a2a",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 115.313,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46913,
    "c": 0.11449,
    "h": 142.1
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#2F6A2A
secondary
#97549C
accent
#55D3C9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2F6A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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