#2F6F14#2F6F14

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

Color values

HEX#2F6F14
RGBrgb(47, 111, 20)
HSLhsl(102, 69%, 26%)
HSVhsv(102, 82%, 44%)
CMYKcmyk(57.7%, 0%, 82%, 56.5%)
CIE-LABlab(41.25, -37.37, 41.01)
CIE-LCHlch(41.25, 55.48, 132.34°)
OKLaboklab(48.12% -0.1032 0.0913)
OKLCHoklch(48.12% 0.138 138.5)
XYZxyz(6.9827, 12.0232, 2.6144)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F14 #54146F
analogous
#5C6F14 #2F6F14 #146F26
triadic
#2F6F14 #142F6F #6F142F
tetradic
#2F6F14 #145C6F #54146F #6F2614
square
#2F6F14 #145C6F #54146F #6F2614
split-complementary
#2F6F14 #26146F #6F145C
monochromatic
#0B1A05 #193B0B #2F6F14 #45A31D #5BD727

Accessibility & contrast

On white

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

On black

3.40
#2F6F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F6F14#FFFFFF#000000##FFFFFF
##2F6F141.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6f14;
/* rgb */ color: rgb(47, 111, 20);
/* oklch */ color: oklch(48.1% 0.138 138.5);
Tailwind
colors: {
  custom: {
    50: '#70995a',
    500: '#2f6f14',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f14;
$custom-light: #70995a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f14",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 102.198,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.13779,
    "h": 138.5
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#2F6F14
secondary
#8539A6
accent
#3CECB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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