#2F6816#2F6816

#2F6816 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.128 H 138.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2F6816
RGBrgb(47, 104, 22)
HSLhsl(102, 65%, 25%)
HSVhsv(102, 79%, 41%)
CMYKcmyk(54.8%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.83, -34.35, 37.94)
CIE-LCHlch(38.83, 51.18, 132.16°)
OKLaboklab(46.13% -0.095 0.0852)
OKLCHoklch(46.13% 0.128 138.1)
XYZxyz(6.2672, 10.5624, 2.4674)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6816 #4F1668
analogous
#586816 #2F6816 #166826
triadic
#2F6816 #162F68 #68162F
tetradic
#2F6816 #165868 #4F1668 #682616
square
#2F6816 #165868 #4F1668 #682616
split-complementary
#2F6816 #261668 #681658
monochromatic
#0B1905 #18350B #2F6816 #469B21 #5DCD2B

Accessibility & contrast

On white

6.75
#2F6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6816
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6816#FFFFFF#000000##FFFFFF
##2F68161.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#2A6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6816;
/* rgb */ color: rgb(47, 104, 22);
/* oklch */ color: oklch(46.1% 0.128 138.1);
Tailwind
colors: {
  custom: {
    50: '#6e945a',
    500: '#2f6816',
    950: '#000000',
  },
}
SCSS
$custom: #2f6816;
$custom-light: #6e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6816",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 101.707,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46129,
    "c": 0.12758,
    "h": 138.1
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#2F6816
secondary
#803B9F
accent
#40E8B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6816

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

Preview Lab → · Contrast checker → · Palette generator →

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