#2F9822#2F9822

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

Color values

HEX#2F9822
RGBrgb(47, 152, 34)
HSLhsl(113, 63%, 36%)
HSVhsv(113, 78%, 60%)
CMYKcmyk(69.1%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.25, -51.58, 49.74)
CIE-LCHlch(55.25, 71.66, 136.04°)
OKLaboklab(59.73% -0.1407 0.1116)
OKLCHoklch(59.73% 0.18 141.6)
XYZxyz(12.6886, 23.1750, 5.3176)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9822 #8B2298
analogous
#6A9822 #2F9822 #229850
triadic
#2F9822 #222F98 #98222F
tetradic
#2F9822 #226A98 #8B2298 #985022
square
#2F9822 #226A98 #8B2298 #985022
split-complementary
#2F9822 #502298 #98226A
monochromatic
#10340C #206617 #2F9822 #3ECA2D #68DA5A

Accessibility & contrast

On white

3.73
#2F9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9822#FFFFFF#000000##000000
##2F98221.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8905
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#179382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9822;
/* rgb */ color: rgb(47, 152, 34);
/* oklch */ color: oklch(59.7% 0.180 141.6);
Tailwind
colors: {
  custom: {
    50: '#77b766',
    500: '#2f9822',
    950: '#000000',
  },
}
SCSS
$custom: #2f9822;
$custom-light: #77b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9822",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 113.39,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.1796,
    "h": 141.6
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#2F9822
secondary
#B357BE
accent
#41E6D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9822

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

Preview Lab → · Contrast checker → · Palette generator →

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