#2F9628#2F9628

#2F9628 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.174 H 142.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F9628
RGBrgb(47, 150, 40)
HSLhsl(116, 58%, 37%)
HSVhsv(116, 73%, 59%)
CMYKcmyk(68.7%, 0%, 73.3%, 41.2%)
CIE-LABlab(54.63, -50.42, 46.92)
CIE-LCHlch(54.63, 68.87, 137.06°)
OKLaboklab(59.22% -0.1373 0.1065)
OKLCHoklch(59.22% 0.174 142.2)
XYZxyz(12.4609, 22.5689, 5.7066)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9628 #8F2896
analogous
#669628 #2F9628 #289658
triadic
#2F9628 #282F96 #96282F
tetradic
#2F9628 #286696 #8F2896 #965828
square
#2F9628 #286696 #8F2896 #965828
split-complementary
#2F9628 #582896 #962866
monochromatic
#11350E #20661B #2F9628 #3EC635 #6AD563

Accessibility & contrast

On white

3.81
#2F9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#2F9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9628
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9628#FFFFFF#000000##000000
##2F96281.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#8D8033
Tritanopia (blue-blind)
#179180
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9628;
/* rgb */ color: rgb(47, 150, 40);
/* oklch */ color: oklch(59.2% 0.174 142.2);
Tailwind
colors: {
  custom: {
    50: '#77b669',
    500: '#2f9628',
    950: '#000000',
  },
}
SCSS
$custom: #2f9628;
$custom-light: #77b669;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9628",
  "rgb": {
    "r": 47,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 116.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.17375,
    "h": 142.2
  },
  "luminance": 0.2257
}

Semantic roles & 50–950 ramp

primary
#2F9628
secondary
#B55FBB
accent
#47E1D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9628

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

Preview Lab → · Contrast checker → · Palette generator →

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