#2F9417#2F9417

#2F9417 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.180 H 140.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F9417
RGBrgb(47, 148, 23)
HSLhsl(108, 73%, 34%)
HSVhsv(108, 84%, 58%)
CMYKcmyk(68.2%, 0%, 84.5%, 42%)
CIE-LABlab(53.86, -50.88, 51.83)
CIE-LCHlch(53.86, 72.63, 134.47°)
OKLaboklab(58.56% -0.1394 0.1144)
OKLCHoklch(58.56% 0.18 140.6)
XYZxyz(11.9162, 21.8448, 4.3989)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9417 #7C1794
analogous
#6D9417 #2F9417 #17943D
triadic
#2F9417 #172F94 #94172F
tetradic
#2F9417 #176D94 #7C1794 #943D17
square
#2F9417 #176D94 #7C1794 #943D17
split-complementary
#2F9417 #3D1794 #94176D
monochromatic
#0D2A07 #1E5F0F #2F9417 #40C91F #62E244

Accessibility & contrast

On white

3.91
#2F9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#2F9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9417
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9417#FFFFFF#000000##000000
##2F94171.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#1C8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f9417;
/* rgb */ color: rgb(47, 148, 23);
/* oklch */ color: oklch(58.6% 0.180 140.6);
Tailwind
colors: {
  custom: {
    50: '#77b461',
    500: '#2f9417',
    950: '#000000',
  },
}
SCSS
$custom: #2f9417;
$custom-light: #77b461;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9417",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 108.48,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.18029,
    "h": 140.6
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

primary
#2F9417
secondary
#AA44C3
accent
#38F0CC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F9417

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

Preview Lab → · Contrast checker → · Palette generator →

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