#2F6A16#2F6A16

#2F6A16 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2F6A16
RGBrgb(47, 106, 22)
HSLhsl(102, 66%, 25%)
HSVhsv(102, 79%, 42%)
CMYKcmyk(55.7%, 0%, 79.2%, 58.4%)
CIE-LABlab(39.53, -35.19, 38.63)
CIE-LCHlch(39.53, 52.25, 132.33°)
OKLaboklab(46.7% -0.0972 0.0866)
OKLCHoklch(46.7% 0.13 138.3)
XYZxyz(6.4709, 10.9698, 2.5353)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A16 #51166A
analogous
#596A16 #2F6A16 #166A27
triadic
#2F6A16 #162F6A #6A162F
tetradic
#2F6A16 #16596A #51166A #6A2716
square
#2F6A16 #16596A #51166A #6A2716
split-complementary
#2F6A16 #27166A #6A1659
monochromatic
#0B1905 #19370B #2F6A16 #459D21 #5CCF2B

Accessibility & contrast

On white

6.57
#2F6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A16
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A16#FFFFFF#000000##FFFFFF
##2F6A161.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a16;
/* rgb */ color: rgb(47, 106, 22);
/* oklch */ color: oklch(46.7% 0.130 138.3);
Tailwind
colors: {
  custom: {
    50: '#6f955a',
    500: '#2f6a16',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a16;
$custom-light: #6f955a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a16",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 102.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46703,
    "c": 0.13021,
    "h": 138.3
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#2F6A16
secondary
#823BA0
accent
#3FE9B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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