#2F6C15#2F6C15

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

Color values

HEX#2F6C15
RGBrgb(47, 108, 21)
HSLhsl(102, 67%, 25%)
HSVhsv(102, 81%, 42%)
CMYKcmyk(56.5%, 0%, 80.6%, 57.6%)
CIE-LABlab(40.22, -36.08, 39.67)
CIE-LCHlch(40.22, 53.63, 132.29°)
OKLaboklab(47.27% -0.0997 0.0886)
OKLCHoklch(47.27% 0.133 138.4)
XYZxyz(6.6700, 11.3831, 2.5550)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6C15 #52156C
analogous
#5A6C15 #2F6C15 #156C26
triadic
#2F6C15 #152F6C #6C152F
tetradic
#2F6C15 #155A6C #52156C #6C2615
square
#2F6C15 #155A6C #52156C #6C2615
split-complementary
#2F6C15 #26156C #6C155A
monochromatic
#0B1A05 #19390B #2F6C15 #459F1F #5CD229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6C15#FFFFFF#000000##FFFFFF
##2F6C151.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)
#706202
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6c15;
/* rgb */ color: rgb(47, 108, 21);
/* oklch */ color: oklch(47.3% 0.133 138.4);
Tailwind
colors: {
  custom: {
    50: '#6f975a',
    500: '#2f6c15',
    950: '#000000',
  },
}
SCSS
$custom: #2f6c15;
$custom-light: #6f975a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6c15",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 102.069,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.1334,
    "h": 138.4
  },
  "luminance": 0.11384
}

Semantic roles & 50–950 ramp

primary
#2F6C15
secondary
#833AA3
accent
#3DEAB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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