#2F6715#2F6715

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

Color values

HEX#2F6715
RGBrgb(47, 103, 21)
HSLhsl(101, 66%, 24%)
HSVhsv(101, 80%, 40%)
CMYKcmyk(54.4%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.48, -34.01, 37.98)
CIE-LCHlch(38.48, 50.97, 131.84°)
OKLaboklab(45.84% -0.0941 0.0851)
OKLCHoklch(45.84% 0.127 137.9)
XYZxyz(6.1577, 10.3585, 2.3842)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6715 #4D1567
analogous
#586715 #2F6715 #156724
triadic
#2F6715 #152F67 #67152F
tetradic
#2F6715 #155867 #4D1567 #672415
square
#2F6715 #155867 #4D1567 #672415
split-complementary
#2F6715 #241567 #671558
monochromatic
#0C1905 #18340B #2F6715 #469A1F #5DCD2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6715#FFFFFF#000000##FFFFFF
##2F67151.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)
#6A5D04
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6715;
/* rgb */ color: rgb(47, 103, 21);
/* oklch */ color: oklch(45.8% 0.127 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e9359',
    500: '#2f6715',
    950: '#000000',
  },
}
SCSS
$custom: #2f6715;
$custom-light: #6e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6715",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 100.976,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.12687,
    "h": 137.9
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#2F6715
secondary
#7E3A9E
accent
#3FE9B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6715

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

Preview Lab → · Contrast checker → · Palette generator →

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