#2F6A2F#2F6A2F

#2F6A2F is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.110 H 143.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2F6A2F
RGBrgb(47, 106, 47)
HSLhsl(120, 39%, 30%)
HSVhsv(120, 56%, 42%)
CMYKcmyk(55.7%, 0%, 55.7%, 58.4%)
CIE-LABlab(39.78, -32.45, 27.15)
CIE-LCHlch(39.78, 42.31, 140.08°)
OKLaboklab(46.99% -0.0882 0.0651)
OKLCHoklch(46.99% 0.11 143.6)
XYZxyz(6.8391, 11.1171, 4.4742)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A2F #6A2F6A
analogous
#4D6A2F #2F6A2F #2F6A4D
triadic
#2F6A2F #2F2F6A #6A2F2F
tetradic
#2F6A2F #2F4C6A #6A2F6A #6A4D2F
square
#2F6A2F #2F4C6A #6A2F6A #6A4D2F
split-complementary
#2F6A2F #4C2F6A #6A2F4D
monochromatic
#091509 #1C401C #2F6A2F #429442 #5CB75C

Accessibility & contrast

On white

6.51
#2F6A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6A2F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A2F#FFFFFF#000000##FFFFFF
##2F6A2F1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#26675D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6a2f;
/* rgb */ color: rgb(47, 106, 47);
/* oklch */ color: oklch(47.0% 0.110 143.6);
Tailwind
colors: {
  custom: {
    50: '#6d9569',
    500: '#2f6a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a2f;
$custom-light: #6d9569;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a2f",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.46986,
    "c": 0.10964,
    "h": 143.6
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#2F6A2F
secondary
#9B599B
accent
#59CECE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2F6A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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