#2F9928#2F9928

#2F9928 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.177 H 142.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F9928
RGBrgb(47, 153, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 60%)
CMYKcmyk(69.3%, 0%, 73.9%, 40%)
CIE-LABlab(55.62, -51.46, 47.94)
CIE-LCHlch(55.62, 70.33, 137.03°)
OKLaboklab(60.05% -0.1401 0.1087)
OKLCHoklch(60.05% 0.177 142.2)
XYZxyz(12.9458, 23.5386, 5.8682)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9928 #922899
analogous
#679928 #2F9928 #289959
triadic
#2F9928 #282F99 #99282F
tetradic
#2F9928 #286799 #922899 #995928
square
#2F9928 #286799 #922899 #995928
split-complementary
#2F9928 #592899 #992867
monochromatic
#11380F #20681B #2F9928 #3ECA35 #6CD765

Accessibility & contrast

On white

3.68
#2F9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#2F9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9928
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9928#FFFFFF#000000##000000
##2F99281.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A14
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#159483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9928;
/* rgb */ color: rgb(47, 153, 40);
/* oklch */ color: oklch(60.0% 0.177 142.2);
Tailwind
colors: {
  custom: {
    50: '#77b869',
    500: '#2f9928',
    950: '#000000',
  },
}
SCSS
$custom: #2f9928;
$custom-light: #77b869;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9928",
  "rgb": {
    "r": 47,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 116.283,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.17729,
    "h": 142.2
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

primary
#2F9928
secondary
#B760BD
accent
#46E2D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9928

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

Preview Lab → · Contrast checker → · Palette generator →

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