#2F8617#2F8617

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

Color values

HEX#2F8617
RGBrgb(47, 134, 23)
HSLhsl(107, 71%, 31%)
HSVhsv(107, 83%, 53%)
CMYKcmyk(64.9%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.15, -45.95, 47.48)
CIE-LCHlch(49.15, 66.07, 134.06°)
OKLaboklab(54.65% -0.1261 0.1053)
OKLCHoklch(54.65% 0.164 140.1)
XYZxyz(9.8516, 17.7154, 3.7107)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8617 #6E1786
analogous
#668617 #2F8617 #178636
triadic
#2F8617 #172F86 #86172F
tetradic
#2F8617 #176686 #6E1786 #863617
square
#2F8617 #176686 #6E1786 #863617
split-complementary
#2F8617 #361786 #861766
monochromatic
#0A1E05 #1D520E #2F8617 #41BA20 #5DDD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8617#FFFFFF#000000##FFFFFF
##2F86171.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: #2f8617;
/* rgb */ color: rgb(47, 134, 23);
/* oklch */ color: oklch(54.7% 0.164 140.1);
Tailwind
colors: {
  custom: {
    50: '#74aa5f',
    500: '#2f8617',
    950: '#000000',
  },
}
SCSS
$custom: #2f8617;
$custom-light: #74aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8617",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 107.027,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.16427,
    "h": 140.1
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#2F8617
secondary
#9F3FBA
accent
#3AEDC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8617

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

Preview Lab → · Contrast checker → · Palette generator →

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