#2F6718#2F6718

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

Color values

HEX#2F6718
RGBrgb(47, 103, 24)
HSLhsl(103, 62%, 25%)
HSVhsv(103, 77%, 40%)
CMYKcmyk(54.4%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.50, -33.77, 36.82)
CIE-LCHlch(38.50, 49.96, 132.53°)
OKLaboklab(45.86% -0.0933 0.0832)
OKLCHoklch(45.86% 0.125 138.3)
XYZxyz(6.1872, 10.3703, 2.5396)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6718 #501867
analogous
#566718 #2F6718 #186729
triadic
#2F6718 #182F67 #67182F
tetradic
#2F6718 #185667 #501867 #672918
square
#2F6718 #185667 #501867 #672918
split-complementary
#2F6718 #291867 #671856
monochromatic
#0B1906 #18350C #2F6718 #469924 #5CCA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6718#FFFFFF#000000##FFFFFF
##2F67181.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)
#6A5E0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6718;
/* rgb */ color: rgb(47, 103, 24);
/* oklch */ color: oklch(45.9% 0.125 138.3);
Tailwind
colors: {
  custom: {
    50: '#6e935b',
    500: '#2f6718',
    950: '#000000',
  },
}
SCSS
$custom: #2f6718;
$custom-light: #6e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6718",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 102.532,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45858,
    "c": 0.12496,
    "h": 138.3
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#2F6718
secondary
#813E9D
accent
#43E5B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6718

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

Preview Lab → · Contrast checker → · Palette generator →

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