#2F6813#2F6813

#2F6813 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.129 H 137.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2F6813
RGBrgb(47, 104, 19)
HSLhsl(100, 69%, 24%)
HSVhsv(100, 82%, 41%)
CMYKcmyk(54.8%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.81, -34.56, 39.03)
CIE-LCHlch(38.81, 52.14, 131.53°)
OKLaboklab(46.11% -0.0957 0.087)
OKLCHoklch(46.11% 0.129 137.7)
XYZxyz(6.2399, 10.5515, 2.3238)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6813 #4C1368
analogous
#5A6813 #2F6813 #136821
triadic
#2F6813 #132F68 #68132F
tetradic
#2F6813 #135A68 #4C1368 #682113
square
#2F6813 #135A68 #4C1368 #682113
split-complementary
#2F6813 #211368 #68135A
monochromatic
#0C1A05 #18340A #2F6813 #469C1C #5ECF26

Accessibility & contrast

On white

6.75
#2F6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6813
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6813#FFFFFF#000000##FFFFFF
##2F68131.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#2B6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6813;
/* rgb */ color: rgb(47, 104, 19);
/* oklch */ color: oklch(46.1% 0.129 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e9458',
    500: '#2f6813',
    950: '#000000',
  },
}
SCSS
$custom: #2f6813;
$custom-light: #6e9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6813",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 100.235,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.12935,
    "h": 137.7
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#2F6813
secondary
#7D379F
accent
#3CECB2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6813

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

Preview Lab → · Contrast checker → · Palette generator →

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