#2F6D15#2F6D15

#2F6D15 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.135 H 138.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2F6D15
RGBrgb(47, 109, 21)
HSLhsl(102, 68%, 25%)
HSVhsv(102, 81%, 43%)
CMYKcmyk(56.9%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.57, -36.49, 40.00)
CIE-LCHlch(40.57, 54.15, 132.37°)
OKLaboklab(47.56% -0.1008 0.0894)
OKLCHoklch(47.56% 0.135 138.4)
XYZxyz(6.7760, 11.5952, 2.5904)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D15 #53156D
analogous
#5B6D15 #2F6D15 #156D27
triadic
#2F6D15 #152F6D #6D152F
tetradic
#2F6D15 #155B6D #53156D #6D2715
square
#2F6D15 #155B6D #53156D #6D2715
split-complementary
#2F6D15 #27156D #6D155B
monochromatic
#0B1A05 #193A0B #2F6D15 #45A01F #5BD429

Accessibility & contrast

On white

6.33
#2F6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2F6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D15
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D15#FFFFFF#000000##FFFFFF
##2F6D151.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#29695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6d15;
/* rgb */ color: rgb(47, 109, 21);
/* oklch */ color: oklch(47.6% 0.135 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f975a',
    500: '#2f6d15',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d15;
$custom-light: #6f975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d15",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 102.273,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.13469,
    "h": 138.4
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#2F6D15
secondary
#843AA3
accent
#3DEBB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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