#2F8618#2F8618

#2F8618 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.164 H 140.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F8618
RGBrgb(47, 134, 24)
HSLhsl(107, 70%, 31%)
HSVhsv(107, 82%, 53%)
CMYKcmyk(64.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.15, -45.89, 47.18)
CIE-LCHlch(49.15, 65.81, 134.20°)
OKLaboklab(54.66% -0.1259 0.1048)
OKLCHoklch(54.66% 0.164 140.2)
XYZxyz(9.8618, 17.7195, 3.7645)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8618 #6F1886
analogous
#668618 #2F8618 #188638
triadic
#2F8618 #182F86 #86182F
tetradic
#2F8618 #186686 #6F1886 #863818
square
#2F8618 #186686 #6F1886 #863818
split-complementary
#2F8618 #381886 #861866
monochromatic
#0B1E05 #1D520F #2F8618 #41BA21 #5EDC3C

Accessibility & contrast

On white

4.62
#2F8618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8618
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8618#FFFFFF#000000##FFFFFF
##2F86181.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#228172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8618;
/* rgb */ color: rgb(47, 134, 24);
/* oklch */ color: oklch(54.7% 0.164 140.2);
Tailwind
colors: {
  custom: {
    50: '#74aa5f',
    500: '#2f8618',
    950: '#000000',
  },
}
SCSS
$custom: #2f8618;
$custom-light: #74aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8618",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 107.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.1638,
    "h": 140.2
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#2F8618
secondary
#A040BA
accent
#3BECC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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