#2F7618#2F7618

#2F7618 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.144 H 139.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7618
RGBrgb(47, 118, 24)
HSLhsl(105, 66%, 28%)
HSVhsv(105, 80%, 46%)
CMYKcmyk(60.2%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.69, -39.87, 41.96)
CIE-LCHlch(43.69, 57.89, 133.54°)
OKLaboklab(50.14% -0.1097 0.0939)
OKLCHoklch(50.14% 0.144 139.4)
XYZxyz(7.8153, 13.6265, 3.0823)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7618 #5F1876
analogous
#5E7618 #2F7618 #187630
triadic
#2F7618 #182F76 #76182F
tetradic
#2F7618 #185E76 #5F1876 #763018
square
#2F7618 #185E76 #5F1876 #763018
split-complementary
#2F7618 #301876 #76185E
monochromatic
#0A1905 #1B430E #2F7618 #43A922 #5BD533

Accessibility & contrast

On white

5.64
#2F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7618
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7618#FFFFFF#000000##FFFFFF
##2F76181.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#277264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7618;
/* rgb */ color: rgb(47, 118, 24);
/* oklch */ color: oklch(50.1% 0.144 139.4);
Tailwind
colors: {
  custom: {
    50: '#719e5d',
    500: '#2f7618',
    950: '#000000',
  },
}
SCSS
$custom: #2f7618;
$custom-light: #719e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7618",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 105.319,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.1444,
    "h": 139.4
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#2F7618
secondary
#913FAB
accent
#3FE9BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7618

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

Preview Lab → · Contrast checker → · Palette generator →

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