#2F6F16#2F6F16

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

Color values

HEX#2F6F16
RGBrgb(47, 111, 22)
HSLhsl(103, 67%, 26%)
HSVhsv(103, 80%, 44%)
CMYKcmyk(57.7%, 0%, 80.2%, 56.5%)
CIE-LABlab(41.26, -37.23, 40.32)
CIE-LCHlch(41.26, 54.89, 132.72°)
OKLaboklab(48.13% -0.1027 0.0902)
OKLCHoklch(48.13% 0.137 138.7)
XYZxyz(7.0013, 12.0306, 2.7121)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F16 #56166F
analogous
#5B6F16 #2F6F16 #166F29
triadic
#2F6F16 #162F6F #6F162F
tetradic
#2F6F16 #165B6F #56166F #6F2916
square
#2F6F16 #165B6F #56166F #6F2916
split-complementary
#2F6F16 #29166F #6F165B
monochromatic
#0B1A05 #193C0C #2F6F16 #45A220 #5AD52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6F16#FFFFFF#000000##FFFFFF
##2F6F161.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)
#736502
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#296B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f16;
/* rgb */ color: rgb(47, 111, 22);
/* oklch */ color: oklch(48.1% 0.137 138.7);
Tailwind
colors: {
  custom: {
    50: '#6f995b',
    500: '#2f6f16',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f16;
$custom-light: #6f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f16",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 103.146,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.13668,
    "h": 138.7
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#2F6F16
secondary
#873CA5
accent
#3EEABA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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