#2F9017#2F9017

#2F9017 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.176 H 140.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F9017
RGBrgb(47, 144, 23)
HSLhsl(108, 72%, 33%)
HSVhsv(108, 84%, 56%)
CMYKcmyk(67.4%, 0%, 84%, 43.5%)
CIE-LABlab(52.52, -49.50, 50.60)
CIE-LCHlch(52.52, 70.78, 134.37°)
OKLaboklab(57.45% -0.1356 0.1118)
OKLCHoklch(57.45% 0.176 140.5)
XYZxyz(11.2996, 20.6116, 4.1934)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9017 #781790
analogous
#6B9017 #2F9017 #17903B
triadic
#2F9017 #172F90 #90172F
tetradic
#2F9017 #176B90 #781790 #903B17
square
#2F9017 #176B90 #781790 #903B17
split-complementary
#2F9017 #3B1790 #90176B
monochromatic
#0D2606 #1E5B0F #2F9017 #40C51F #60E141

Accessibility & contrast

On white

4.10
#2F9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2F9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9017
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9017#FFFFFF#000000##000000
##2F90171.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#1E8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f9017;
/* rgb */ color: rgb(47, 144, 23);
/* oklch */ color: oklch(57.4% 0.176 140.5);
Tailwind
colors: {
  custom: {
    50: '#76b160',
    500: '#2f9017',
    950: '#000000',
  },
}
SCSS
$custom: #2f9017;
$custom-light: #76b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9017",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 108.099,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.17578,
    "h": 140.5
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#2F9017
secondary
#A842C1
accent
#39EFCB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F9017

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

Preview Lab → · Contrast checker → · Palette generator →

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