#2F6716#2F6716

#2F6716 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.126 H 138.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2F6716
RGBrgb(47, 103, 22)
HSLhsl(101, 65%, 25%)
HSVhsv(101, 79%, 40%)
CMYKcmyk(54.4%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.48, -33.93, 37.60)
CIE-LCHlch(38.48, 50.65, 132.06°)
OKLaboklab(45.84% -0.0938 0.0845)
OKLCHoklch(45.84% 0.126 138)
XYZxyz(6.1671, 10.3623, 2.4340)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6716 #4E1667
analogous
#586716 #2F6716 #166725
triadic
#2F6716 #162F67 #67162F
tetradic
#2F6716 #165867 #4E1667 #672516
square
#2F6716 #165867 #4E1667 #672516
split-complementary
#2F6716 #251667 #671658
monochromatic
#0C1905 #18350B #2F6716 #469921 #5DCC2C

Accessibility & contrast

On white

6.83
#2F6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6716
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6716#FFFFFF#000000##FFFFFF
##2F67161.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E06
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6716;
/* rgb */ color: rgb(47, 103, 22);
/* oklch */ color: oklch(45.8% 0.126 138.0);
Tailwind
colors: {
  custom: {
    50: '#6e935a',
    500: '#2f6716',
    950: '#000000',
  },
}
SCSS
$custom: #2f6716;
$custom-light: #6e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6716",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 101.481,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.12626,
    "h": 138
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#2F6716
secondary
#7F3B9E
accent
#40E8B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6716

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

Preview Lab → · Contrast checker → · Palette generator →

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