#2F9821#2F9821

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

Color values

HEX#2F9821
RGBrgb(47, 152, 33)
HSLhsl(113, 64%, 36%)
HSVhsv(113, 78%, 60%)
CMYKcmyk(69.1%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.25, -51.65, 50.08)
CIE-LCHlch(55.25, 71.94, 135.89°)
OKLaboklab(59.72% -0.141 0.1122)
OKLCHoklch(59.72% 0.18 141.5)
XYZxyz(12.6744, 23.1693, 5.2427)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9821 #8A2198
analogous
#6B9821 #2F9821 #21984F
triadic
#2F9821 #212F98 #98212F
tetradic
#2F9821 #216B98 #8A2198 #984F21
square
#2F9821 #216B98 #8A2198 #984F21
split-complementary
#2F9821 #4F2198 #98216B
monochromatic
#10330B #1F6616 #2F9821 #3FCA2C #68DB59

Accessibility & contrast

On white

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

On black

5.63
#2F9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9821
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9821#FFFFFF#000000##000000
##2F98211.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f9821;
/* rgb */ color: rgb(47, 152, 33);
/* oklch */ color: oklch(59.7% 0.180 141.5);
Tailwind
colors: {
  custom: {
    50: '#77b766',
    500: '#2f9821',
    950: '#000000',
  },
}
SCSS
$custom: #2f9821;
$custom-light: #77b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9821",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 112.941,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.18013,
    "h": 141.5
  },
  "luminance": 0.23171
}

Semantic roles & 50–950 ramp

primary
#2F9821
secondary
#B356BF
accent
#40E7D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9821

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

Preview Lab → · Contrast checker → · Palette generator →

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