#2F9728#2F9728

#2F9728 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.175 H 142.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F9728
RGBrgb(47, 151, 40)
HSLhsl(116, 58%, 37%)
HSVhsv(116, 74%, 59%)
CMYKcmyk(68.9%, 0%, 73.5%, 40.8%)
CIE-LABlab(54.96, -50.77, 47.26)
CIE-LCHlch(54.96, 69.36, 137.05°)
OKLaboklab(59.5% -0.1382 0.1072)
OKLCHoklch(59.5% 0.175 142.2)
XYZxyz(12.6212, 22.8894, 5.7600)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9728 #902897
analogous
#679728 #2F9728 #289758
triadic
#2F9728 #282F97 #97282F
tetradic
#2F9728 #286797 #902897 #975828
square
#2F9728 #286797 #902897 #975828
split-complementary
#2F9728 #582897 #972867
monochromatic
#11360E #20671B #2F9728 #3EC735 #6BD664

Accessibility & contrast

On white

3.76
#2F9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2F9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9728
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9728#FFFFFF#000000##000000
##2F97281.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#169281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9728;
/* rgb */ color: rgb(47, 151, 40);
/* oklch */ color: oklch(59.5% 0.175 142.2);
Tailwind
colors: {
  custom: {
    50: '#77b769',
    500: '#2f9728',
    950: '#000000',
  },
}
SCSS
$custom: #2f9728;
$custom-light: #77b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9728",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 116.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.17494,
    "h": 142.2
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#2F9728
secondary
#B65FBC
accent
#46E1D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9728

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

Preview Lab → · Contrast checker → · Palette generator →

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