#2F6C14#2F6C14

#2F6C14 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.134 H 138.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2F6C14
RGBrgb(47, 108, 20)
HSLhsl(102, 69%, 25%)
HSVhsv(102, 81%, 42%)
CMYKcmyk(56.5%, 0%, 81.5%, 57.6%)
CIE-LABlab(40.21, -36.15, 40.02)
CIE-LCHlch(40.21, 53.93, 132.09°)
OKLaboklab(47.26% -0.0999 0.0892)
OKLCHoklch(47.26% 0.134 138.2)
XYZxyz(6.6609, 11.3794, 2.5071)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6C14 #51146C
analogous
#5B6C14 #2F6C14 #146C25
triadic
#2F6C14 #142F6C #6C142F
tetradic
#2F6C14 #145B6C #51146C #6C2514
square
#2F6C14 #145B6C #51146C #6C2514
split-complementary
#2F6C14 #25146C #6C145B
monochromatic
#0B1A05 #19380A #2F6C14 #45A01E #5CD327

Accessibility & contrast

On white

6.41
#2F6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2F6C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6C14
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6C14#FFFFFF#000000##FFFFFF
##2F6C141.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6c14;
/* rgb */ color: rgb(47, 108, 20);
/* oklch */ color: oklch(47.3% 0.134 138.2);
Tailwind
colors: {
  custom: {
    50: '#6f9759',
    500: '#2f6c14',
    950: '#000000',
  },
}
SCSS
$custom: #2f6c14;
$custom-light: #6f9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6c14",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 101.591,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.13397,
    "h": 138.2
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#2F6C14
secondary
#8239A3
accent
#3CECB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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