#2F9726#2F9726

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

Color values

HEX#2F9726
RGBrgb(47, 151, 38)
HSLhsl(115, 60%, 37%)
HSVhsv(115, 75%, 59%)
CMYKcmyk(68.9%, 0%, 74.8%, 40.8%)
CIE-LABlab(54.94, -50.93, 48.01)
CIE-LCHlch(54.94, 69.99, 136.69°)
OKLaboklab(59.48% -0.1388 0.1085)
OKLCHoklch(59.48% 0.176 142)
XYZxyz(12.5880, 22.8762, 5.5855)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9726 #8E2697
analogous
#689726 #2F9726 #269756
triadic
#2F9726 #262F97 #97262F
tetradic
#2F9726 #266897 #8E2697 #975626
square
#2F9726 #266897 #8E2697 #975626
split-complementary
#2F9726 #562697 #972668
monochromatic
#11350D #20661A #2F9726 #3EC832 #6AD760

Accessibility & contrast

On white

3.77
#2F9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9726#FFFFFF#000000##000000
##2F97261.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#179281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9726;
/* rgb */ color: rgb(47, 151, 38);
/* oklch */ color: oklch(59.5% 0.176 142.0);
Tailwind
colors: {
  custom: {
    50: '#77b768',
    500: '#2f9726',
    950: '#000000',
  },
}
SCSS
$custom: #2f9726;
$custom-light: #77b768;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9726",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 115.221,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.17616,
    "h": 142
  },
  "luminance": 0.22877
}

Semantic roles & 50–950 ramp

primary
#2F9726
secondary
#B55CBC
accent
#45E3D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9726

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

Preview Lab → · Contrast checker → · Palette generator →

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