#2F8416#2F8416

#2F8416 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.162 H 140.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F8416
RGBrgb(47, 132, 22)
HSLhsl(106, 71%, 30%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(64.4%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.47, -45.28, 47.15)
CIE-LCHlch(48.47, 65.37, 133.84°)
OKLaboklab(54.09% -0.1243 0.1044)
OKLCHoklch(54.09% 0.162 140)
XYZxyz(9.5679, 17.1639, 3.5676)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8416 #6B1684
analogous
#668416 #2F8416 #168434
triadic
#2F8416 #162F84 #84162F
tetradic
#2F8416 #166684 #6B1684 #843416
square
#2F8416 #166684 #6B1684 #843416
split-complementary
#2F8416 #341684 #841666
monochromatic
#0A1B05 #1C500D #2F8416 #42B81F #5DDE37

Accessibility & contrast

On white

4.74
#2F8416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F8416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8416
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8416#FFFFFF#000000##FFFFFF
##2F84161.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7024
Tritanopia (blue-blind)
#237F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8416;
/* rgb */ color: rgb(47, 132, 22);
/* oklch */ color: oklch(54.1% 0.162 140.0);
Tailwind
colors: {
  custom: {
    50: '#74a95e',
    500: '#2f8416',
    950: '#000000',
  },
}
SCSS
$custom: #2f8416;
$custom-light: #74a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8416",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 106.364,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54086,
    "c": 0.16238,
    "h": 140
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#2F8416
secondary
#9C3DB8
accent
#3AEEC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8416

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

Preview Lab → · Contrast checker → · Palette generator →

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