#2F6616#2F6616

#2F6616 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.125 H 137.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F6616
RGBrgb(47, 102, 22)
HSLhsl(101, 65%, 24%)
HSVhsv(101, 78%, 40%)
CMYKcmyk(53.9%, 0%, 78.4%, 60%)
CIE-LABlab(38.14, -33.51, 37.25)
CIE-LCHlch(38.14, 50.11, 131.97°)
OKLaboklab(45.56% -0.0927 0.0838)
OKLCHoklch(45.56% 0.125 137.9)
XYZxyz(6.0683, 10.1646, 2.4011)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6616 #4D1666
analogous
#576616 #2F6616 #166625
triadic
#2F6616 #162F66 #66162F
tetradic
#2F6616 #165766 #4D1666 #662516
square
#2F6616 #165766 #4D1666 #662516
split-complementary
#2F6616 #251666 #661657
monochromatic
#0C1905 #18340B #2F6616 #469821 #5DCB2C

Accessibility & contrast

On white

6.92
#2F6616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F6616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6616
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6616#FFFFFF#000000##FFFFFF
##2F66161.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D06
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#2B6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6616;
/* rgb */ color: rgb(47, 102, 22);
/* oklch */ color: oklch(45.6% 0.125 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e9259',
    500: '#2f6616',
    950: '#000000',
  },
}
SCSS
$custom: #2f6616;
$custom-light: #6e9259;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6616",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 101.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.12491,
    "h": 137.9
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#2F6616
secondary
#7E3B9D
accent
#40E8B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6616

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

Preview Lab → · Contrast checker → · Palette generator →

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