#2F9826#2F9826

#2F9826 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.177 H 142.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F9826
RGBrgb(47, 152, 38)
HSLhsl(115, 60%, 37%)
HSVhsv(115, 75%, 60%)
CMYKcmyk(69.1%, 0%, 75%, 40.4%)
CIE-LABlab(55.28, -51.28, 48.34)
CIE-LCHlch(55.28, 70.47, 136.69°)
OKLaboklab(59.76% -0.1397 0.1092)
OKLCHoklch(59.76% 0.177 142)
XYZxyz(12.7497, 23.1994, 5.6394)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9826 #8F2698
analogous
#689826 #2F9826 #269856
triadic
#2F9826 #262F98 #98262F
tetradic
#2F9826 #266898 #8F2698 #985626
square
#2F9826 #266898 #8F2698 #985626
split-complementary
#2F9826 #562698 #982668
monochromatic
#11360E #20671A #2F9826 #3EC932 #6AD761

Accessibility & contrast

On white

3.72
#2F9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2F9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9826
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9826#FFFFFF#000000##000000
##2F98261.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8910
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#169382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9826;
/* rgb */ color: rgb(47, 152, 38);
/* oklch */ color: oklch(59.8% 0.177 142.0);
Tailwind
colors: {
  custom: {
    50: '#77b768',
    500: '#2f9826',
    950: '#000000',
  },
}
SCSS
$custom: #2f9826;
$custom-light: #77b768;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9826",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 115.263,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.17733,
    "h": 142
  },
  "luminance": 0.23201
}

Semantic roles & 50–950 ramp

primary
#2F9826
secondary
#B55DBD
accent
#45E3D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9826

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

Preview Lab → · Contrast checker → · Palette generator →

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