#2F6827#2F6827

#2F6827 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.114 H 141.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2F6827
RGBrgb(47, 104, 39)
HSLhsl(113, 45%, 28%)
HSVhsv(113, 63%, 41%)
CMYKcmyk(54.8%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.99, -32.66, 30.42)
CIE-LCHlch(38.99, 44.63, 137.04°)
OKLaboklab(46.3% -0.0892 0.0715)
OKLCHoklch(46.3% 0.114 141.3)
XYZxyz(6.4885, 10.6509, 3.6330)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6827 #602768
analogous
#4F6827 #2F6827 #27683F
triadic
#2F6827 #272F68 #68272F
tetradic
#2F6827 #274F68 #602768 #683F27
square
#2F6827 #274F68 #602768 #683F27
split-complementary
#2F6827 #3F2768 #68274F
monochromatic
#0A1608 #1B3B16 #2F6827 #439538 #5BBC4D

Accessibility & contrast

On white

6.71
#2F6827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2F6827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6827
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6827#FFFFFF#000000##FFFFFF
##2F68271.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F20
Deuteranopia (green-blind)
#635A2C
Tritanopia (blue-blind)
#28655A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6827;
/* rgb */ color: rgb(47, 104, 39);
/* oklch */ color: oklch(46.3% 0.114 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9464',
    500: '#2f6827',
    950: '#000000',
  },
}
SCSS
$custom: #2f6827;
$custom-light: #6d9464;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6827",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 112.615,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.11435,
    "h": 141.3
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#2F6827
secondary
#92509B
accent
#53D5C5
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2F6827

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

Preview Lab → · Contrast checker → · Palette generator →

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