#2F9521#2F9521

#2F9521 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.177 H 141.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F9521
RGBrgb(47, 149, 33)
HSLhsl(113, 64%, 36%)
HSVhsv(113, 78%, 58%)
CMYKcmyk(68.5%, 0%, 77.9%, 41.6%)
CIE-LABlab(54.25, -50.61, 49.10)
CIE-LCHlch(54.25, 70.52, 135.87°)
OKLaboklab(58.89% -0.1382 0.1101)
OKLCHoklch(58.89% 0.177 141.4)
XYZxyz(12.1936, 22.2078, 5.0825)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9521 #872195
analogous
#699521 #2F9521 #21954D
triadic
#2F9521 #212F95 #95212F
tetradic
#2F9521 #216995 #872195 #954D21
square
#2F9521 #216995 #872195 #954D21
split-complementary
#2F9521 #4D2195 #952169
monochromatic
#0F310B #1F6316 #2F9521 #3FC72C #66DA57

Accessibility & contrast

On white

3.86
#2F9521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F9521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9521
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9521#FFFFFF#000000##000000
##2F95211.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#19907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9521;
/* rgb */ color: rgb(47, 149, 33);
/* oklch */ color: oklch(58.9% 0.177 141.4);
Tailwind
colors: {
  custom: {
    50: '#77b565',
    500: '#2f9521',
    950: '#000000',
  },
}
SCSS
$custom: #2f9521;
$custom-light: #77b565;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9521",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 112.759,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.17668,
    "h": 141.4
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#2F9521
secondary
#B154BE
accent
#41E7D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9521

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

Preview Lab → · Contrast checker → · Palette generator →

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