#2F6C18#2F6C18

#2F6C18 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.132 H 138.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2F6C18
RGBrgb(47, 108, 24)
HSLhsl(104, 64%, 26%)
HSVhsv(104, 78%, 42%)
CMYKcmyk(56.5%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.24, -35.86, 38.57)
CIE-LCHlch(40.24, 52.66, 132.92°)
OKLaboklab(47.29% -0.0989 0.0868)
OKLCHoklch(47.29% 0.132 138.7)
XYZxyz(6.6995, 11.3949, 2.7104)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6C18 #55186C
analogous
#596C18 #2F6C18 #186C2B
triadic
#2F6C18 #182F6C #6C182F
tetradic
#2F6C18 #18596C #55186C #6C2B18
square
#2F6C18 #18596C #55186C #6C2B18
split-complementary
#2F6C18 #2B186C #6C1859
monochromatic
#0B1906 #193A0D #2F6C18 #459E23 #5BD02E

Accessibility & contrast

On white

6.40
#2F6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2F6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6C18
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6C18#FFFFFF#000000##FFFFFF
##2F6C181.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#29685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6c18;
/* rgb */ color: rgb(47, 108, 24);
/* oklch */ color: oklch(47.3% 0.132 138.7);
Tailwind
colors: {
  custom: {
    50: '#6f975b',
    500: '#2f6c18',
    950: '#000000',
  },
}
SCSS
$custom: #2f6c18;
$custom-light: #6f975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6c18",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 103.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.13159,
    "h": 138.7
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#2F6C18
secondary
#863EA2
accent
#41E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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