#2F8516#2F8516

#2F8516 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.164 H 140.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8516
RGBrgb(47, 133, 22)
HSLhsl(106, 72%, 30%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(64.7%, 0%, 83.5%, 47.8%)
CIE-LABlab(48.81, -45.64, 47.46)
CIE-LCHlch(48.81, 65.85, 133.88°)
OKLaboklab(54.37% -0.1253 0.1051)
OKLCHoklch(54.37% 0.164 140)
XYZxyz(9.7042, 17.4364, 3.6131)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8516 #6C1685
analogous
#678516 #2F8516 #168534
triadic
#2F8516 #162F85 #85162F
tetradic
#2F8516 #166785 #6C1685 #853416
square
#2F8516 #166785 #6C1685 #853416
split-complementary
#2F8516 #341685 #851667
monochromatic
#0A1C05 #1C500D #2F8516 #42BA1F #5DDE37

Accessibility & contrast

On white

4.68
#2F8516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F8516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8516
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8516#FFFFFF#000000##FFFFFF
##2F85161.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#228071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8516;
/* rgb */ color: rgb(47, 133, 22);
/* oklch */ color: oklch(54.4% 0.164 140.0);
Tailwind
colors: {
  custom: {
    50: '#74a95e',
    500: '#2f8516',
    950: '#000000',
  },
}
SCSS
$custom: #2f8516;
$custom-light: #74a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8516",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 106.486,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.16356,
    "h": 140
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#2F8516
secondary
#9D3EB9
accent
#39EEC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8516

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

Preview Lab → · Contrast checker → · Palette generator →

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