#2F6822#2F6822

#2F6822 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.119 H 140.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2F6822
RGBrgb(47, 104, 34)
HSLhsl(109, 51%, 27%)
HSVhsv(109, 67%, 41%)
CMYKcmyk(54.8%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.93, -33.25, 32.83)
CIE-LCHlch(38.93, 46.73, 135.36°)
OKLaboklab(46.24% -0.0911 0.0761)
OKLCHoklch(46.24% 0.119 140.1)
XYZxyz(6.4111, 10.6200, 3.2251)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6822 #5B2268
analogous
#526822 #2F6822 #226838
triadic
#2F6822 #222F68 #68222F
tetradic
#2F6822 #225268 #5B2268 #683822
square
#2F6822 #225268 #5B2268 #683822
split-complementary
#2F6822 #382268 #682252
monochromatic
#0A1708 #1A3A13 #2F6822 #449631 #5AC243

Accessibility & contrast

On white

6.72
#2F6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6822
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6822#FFFFFF#000000##FFFFFF
##2F68221.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#635A28
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6822;
/* rgb */ color: rgb(47, 104, 34);
/* oklch */ color: oklch(46.2% 0.119 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9460',
    500: '#2f6822',
    950: '#000000',
  },
}
SCSS
$custom: #2f6822;
$custom-light: #6e9460;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6822",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 108.857,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46243,
    "c": 0.11875,
    "h": 140.1
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#2F6822
secondary
#8D4A9C
accent
#4EDAC0
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6822

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

Preview Lab → · Contrast checker → · Palette generator →

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