#2F6714#2F6714

#2F6714 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.127 H 137.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2F6714
RGBrgb(47, 103, 20)
HSLhsl(100, 67%, 24%)
HSVhsv(100, 81%, 40%)
CMYKcmyk(54.4%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.47, -34.08, 38.34)
CIE-LCHlch(38.47, 51.30, 131.63°)
OKLaboklab(45.83% -0.0943 0.0857)
OKLCHoklch(45.83% 0.127 137.7)
XYZxyz(6.1486, 10.3549, 2.3364)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6714 #4C1467
analogous
#596714 #2F6714 #146723
triadic
#2F6714 #142F67 #67142F
tetradic
#2F6714 #145967 #4C1467 #672314
square
#2F6714 #145967 #4C1467 #672314
split-complementary
#2F6714 #231467 #671459
monochromatic
#0C1A05 #18340A #2F6714 #469A1E #5ECD28

Accessibility & contrast

On white

6.84
#2F6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6714
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6714#FFFFFF#000000##FFFFFF
##2F67141.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D02
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6714;
/* rgb */ color: rgb(47, 103, 20);
/* oklch */ color: oklch(45.8% 0.127 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e9359',
    500: '#2f6714',
    950: '#000000',
  },
}
SCSS
$custom: #2f6714;
$custom-light: #6e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6714",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 100.482,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.12747,
    "h": 137.7
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#2F6714
secondary
#7D399E
accent
#3DEAB2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6714

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

Preview Lab → · Contrast checker → · Palette generator →

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