#2F9921#2F9921

#2F9921 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.181 H 141.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F9921
RGBrgb(47, 153, 33)
HSLhsl(113, 65%, 36%)
HSVhsv(113, 78%, 60%)
CMYKcmyk(69.3%, 0%, 78.4%, 40%)
CIE-LABlab(55.58, -51.99, 50.40)
CIE-LCHlch(55.58, 72.41, 135.89°)
OKLaboklab(60% -0.1419 0.1128)
OKLCHoklch(60% 0.181 141.5)
XYZxyz(12.8373, 23.4953, 5.2971)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9921 #8B2199
analogous
#6B9921 #2F9921 #21994F
triadic
#2F9921 #212F99 #99212F
tetradic
#2F9921 #216B99 #8B2199 #994F21
square
#2F9921 #216B99 #8B2199 #994F21
split-complementary
#2F9921 #4F2199 #99216B
monochromatic
#10340B #206716 #2F9921 #3ECB2C #68DB59

Accessibility & contrast

On white

3.68
#2F9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#2F9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9921
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9921#FFFFFF#000000##000000
##2F99211.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#179482
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9921;
/* rgb */ color: rgb(47, 153, 33);
/* oklch */ color: oklch(60.0% 0.181 141.5);
Tailwind
colors: {
  custom: {
    50: '#78b866',
    500: '#2f9921',
    950: '#000000',
  },
}
SCSS
$custom: #2f9921;
$custom-light: #78b866;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9921",
  "rgb": {
    "r": 47,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 113,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.18128,
    "h": 141.5
  },
  "luminance": 0.23497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F9921

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

Preview Lab → · Contrast checker → · Palette generator →

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