#2F9829#2F9829

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

Color values

HEX#2F9829
RGBrgb(47, 152, 41)
HSLhsl(117, 58%, 38%)
HSVhsv(117, 73%, 60%)
CMYKcmyk(69.1%, 0%, 73%, 40.4%)
CIE-LABlab(55.30, -51.03, 47.23)
CIE-LCHlch(55.30, 69.53, 137.22°)
OKLaboklab(59.78% -0.1389 0.1073)
OKLCHoklch(59.78% 0.175 142.3)
XYZxyz(12.8000, 23.2196, 5.9046)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9829 #922998
analogous
#669829 #2F9829 #29985B
triadic
#2F9829 #292F98 #98292F
tetradic
#2F9829 #296698 #922998 #985B29
square
#2F9829 #296698 #922998 #985B29
split-complementary
#2F9829 #5B2998 #982966
monochromatic
#11380F #20681C #2F9829 #3EC836 #6CD666

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9829#FFFFFF#000000##000000
##2F98291.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)
#9C8A16
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#159382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9829;
/* rgb */ color: rgb(47, 152, 41);
/* oklch */ color: oklch(59.8% 0.175 142.3);
Tailwind
colors: {
  custom: {
    50: '#77b76a',
    500: '#2f9829',
    950: '#000000',
  },
}
SCSS
$custom: #2f9829;
$custom-light: #77b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9829",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 41
  },
  "hsl": {
    "h": 116.757,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.17549,
    "h": 142.3
  },
  "luminance": 0.23221
}

Semantic roles & 50–950 ramp

primary
#2F9829
secondary
#B761BC
accent
#47E1D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9829

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

Preview Lab → · Contrast checker → · Palette generator →

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