#2F6E18#2F6E18

#2F6E18 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.134 H 138.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2F6E18
RGBrgb(47, 110, 24)
HSLhsl(104, 64%, 26%)
HSVhsv(104, 78%, 43%)
CMYKcmyk(57.3%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.93, -36.68, 39.25)
CIE-LCHlch(40.93, 53.73, 133.06°)
OKLaboklab(47.86% -0.1011 0.0882)
OKLCHoklch(47.86% 0.134 138.9)
XYZxyz(6.9128, 11.8216, 2.7815)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6E18 #57186E
analogous
#5A6E18 #2F6E18 #186E2C
triadic
#2F6E18 #182F6E #6E182F
tetradic
#2F6E18 #185A6E #57186E #6E2C18
square
#2F6E18 #185A6E #57186E #6E2C18
split-complementary
#2F6E18 #2C186E #6E185A
monochromatic
#0B1905 #1A3C0D #2F6E18 #44A023 #5AD22F

Accessibility & contrast

On white

6.24
#2F6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2F6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6E18
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6E18#FFFFFF#000000##FFFFFF
##2F6E181.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716407
Deuteranopia (green-blind)
#695F21
Tritanopia (blue-blind)
#296A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6e18;
/* rgb */ color: rgb(47, 110, 24);
/* oklch */ color: oklch(47.9% 0.134 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f985c',
    500: '#2f6e18',
    950: '#000000',
  },
}
SCSS
$custom: #2f6e18;
$custom-light: #6f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6e18",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 103.953,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.1342,
    "h": 138.9
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#2F6E18
secondary
#883EA4
accent
#41E7BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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