#2F6918#2F6918

#2F6918 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.128 H 138.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2F6918
RGBrgb(47, 105, 24)
HSLhsl(103, 63%, 25%)
HSVhsv(103, 77%, 41%)
CMYKcmyk(55.2%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.20, -34.62, 37.52)
CIE-LCHlch(39.20, 51.05, 132.69°)
OKLaboklab(46.43% -0.0955 0.0846)
OKLCHoklch(46.43% 0.128 138.5)
XYZxyz(6.3885, 10.7729, 2.6067)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6918 #521869
analogous
#576918 #2F6918 #186929
triadic
#2F6918 #182F69 #69182F
tetradic
#2F6918 #185769 #521869 #692918
square
#2F6918 #185769 #521869 #692918
split-complementary
#2F6918 #291869 #691857
monochromatic
#0B1906 #19370D #2F6918 #459B23 #5CCD2F

Accessibility & contrast

On white

6.66
#2F6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6918
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6918#FFFFFF#000000##FFFFFF
##2F69181.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#2A6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6918;
/* rgb */ color: rgb(47, 105, 24);
/* oklch */ color: oklch(46.4% 0.128 138.5);
Tailwind
colors: {
  custom: {
    50: '#6e945b',
    500: '#2f6918',
    950: '#000000',
  },
}
SCSS
$custom: #2f6918;
$custom-light: #6e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6918",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 102.963,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.12763,
    "h": 138.5
  },
  "luminance": 0.10773
}

Semantic roles & 50–950 ramp

primary
#2F6918
secondary
#833E9F
accent
#42E6B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6918

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

Preview Lab → · Contrast checker → · Palette generator →

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