#2F6516#2F6516

#2F6516 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 137.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2F6516
RGBrgb(47, 101, 22)
HSLhsl(101, 64%, 24%)
HSVhsv(101, 78%, 40%)
CMYKcmyk(53.5%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.79, -33.08, 36.91)
CIE-LCHlch(37.79, 49.56, 131.87°)
OKLaboklab(45.27% -0.0915 0.083)
OKLCHoklch(45.27% 0.124 137.8)
XYZxyz(5.9706, 9.9692, 2.3685)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6516 #4C1665
analogous
#576516 #2F6516 #166525
triadic
#2F6516 #162F65 #65162F
tetradic
#2F6516 #165765 #4C1665 #652516
square
#2F6516 #165765 #4C1665 #652516
split-complementary
#2F6516 #251665 #651657
monochromatic
#0C1905 #18330B #2F6516 #469721 #5ECA2C

Accessibility & contrast

On white

7.01
#2F6516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F6516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6516
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6516#FFFFFF#000000##FFFFFF
##2F65161.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6516;
/* rgb */ color: rgb(47, 101, 22);
/* oklch */ color: oklch(45.3% 0.124 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e9159',
    500: '#2f6516',
    950: '#000000',
  },
}
SCSS
$custom: #2f6516;
$custom-light: #6e9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6516",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 101.013,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.12358,
    "h": 137.8
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#2F6516
secondary
#7D3B9C
accent
#41E7B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6516

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

Preview Lab → · Contrast checker → · Palette generator →

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