#2F6F15#2F6F15

#2F6F15 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.137 H 138.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6F15
RGBrgb(47, 111, 21)
HSLhsl(103, 68%, 26%)
HSVhsv(103, 81%, 44%)
CMYKcmyk(57.7%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.26, -37.30, 40.67)
CIE-LCHlch(41.26, 55.19, 132.53°)
OKLaboklab(48.13% -0.103 0.0907)
OKLCHoklch(48.13% 0.137 138.6)
XYZxyz(6.9918, 12.0268, 2.6623)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F15 #55156F
analogous
#5C6F15 #2F6F15 #156F28
triadic
#2F6F15 #152F6F #6F152F
tetradic
#2F6F15 #155C6F #55156F #6F2815
square
#2F6F15 #155C6F #55156F #6F2815
split-complementary
#2F6F15 #28156F #6F155C
monochromatic
#0B1A05 #193C0B #2F6F15 #45A21F #5BD628

Accessibility & contrast

On white

6.17
#2F6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2F6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F15
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F15#FFFFFF#000000##FFFFFF
##2F6F151.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#296B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f15;
/* rgb */ color: rgb(47, 111, 21);
/* oklch */ color: oklch(48.1% 0.137 138.6);
Tailwind
colors: {
  custom: {
    50: '#70995a',
    500: '#2f6f15',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f15;
$custom-light: #70995a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f15",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 102.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48127,
    "c": 0.13725,
    "h": 138.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#2F6F15
secondary
#863AA5
accent
#3DEBB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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