#2F6814#2F6814

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

Color values

HEX#2F6814
RGBrgb(47, 104, 20)
HSLhsl(101, 68%, 24%)
HSVhsv(101, 81%, 41%)
CMYKcmyk(54.8%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.82, -34.50, 38.68)
CIE-LCHlch(38.82, 51.83, 131.73°)
OKLaboklab(46.12% -0.0955 0.0864)
OKLCHoklch(46.12% 0.129 137.9)
XYZxyz(6.2487, 10.5550, 2.3697)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6814 #4D1468
analogous
#596814 #2F6814 #146823
triadic
#2F6814 #142F68 #68142F
tetradic
#2F6814 #145968 #4D1468 #682314
square
#2F6814 #145968 #4D1468 #682314
split-complementary
#2F6814 #231468 #681459
monochromatic
#0C1A05 #18350A #2F6814 #469B1E #5DCF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6814#FFFFFF#000000##FFFFFF
##2F68141.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)
#6C5E02
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#2B6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6814;
/* rgb */ color: rgb(47, 104, 20);
/* oklch */ color: oklch(46.1% 0.129 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e9459',
    500: '#2f6814',
    950: '#000000',
  },
}
SCSS
$custom: #2f6814;
$custom-light: #6e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6814",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 100.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.12878,
    "h": 137.9
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#2F6814
secondary
#7E399F
accent
#3DEBB3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6814

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

Preview Lab → · Contrast checker → · Palette generator →

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