#2F8916#2F8916

#2F8916 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.168 H 140.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8916
RGBrgb(47, 137, 22)
HSLhsl(107, 72%, 31%)
HSVhsv(107, 84%, 54%)
CMYKcmyk(65.7%, 0%, 83.9%, 46.3%)
CIE-LABlab(50.16, -47.08, 48.71)
CIE-LCHlch(50.16, 67.75, 134.02°)
OKLaboklab(55.49% -0.1292 0.1077)
OKLCHoklch(55.49% 0.168 140.2)
XYZxyz(10.2623, 18.5526, 3.7991)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8916 #701689
analogous
#688916 #2F8916 #168937
triadic
#2F8916 #162F89 #89162F
tetradic
#2F8916 #166889 #701689 #893716
square
#2F8916 #166889 #701689 #893716
split-complementary
#2F8916 #371689 #891668
monochromatic
#0B2005 #1D540E #2F8916 #41BE1E #5EDF3A

Accessibility & contrast

On white

4.46
#2F8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8916
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8916#FFFFFF#000000##000000
##2F89161.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#218474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8916;
/* rgb */ color: rgb(47, 137, 22);
/* oklch */ color: oklch(55.5% 0.168 140.2);
Tailwind
colors: {
  custom: {
    50: '#75ac5f',
    500: '#2f8916',
    950: '#000000',
  },
}
SCSS
$custom: #2f8916;
$custom-light: #75ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8916",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 106.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55488,
    "c": 0.16821,
    "h": 140.2
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#2F8916
secondary
#A13EBD
accent
#39EFC7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8916

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

Preview Lab → · Contrast checker → · Palette generator →

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