#2F9527#2F9527

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

Color values

HEX#2F9527
RGBrgb(47, 149, 39)
HSLhsl(116, 59%, 37%)
HSVhsv(116, 74%, 58%)
CMYKcmyk(68.5%, 0%, 73.8%, 41.6%)
CIE-LABlab(54.29, -50.15, 46.96)
CIE-LCHlch(54.29, 68.70, 136.88°)
OKLaboklab(58.94% -0.1366 0.1065)
OKLCHoklch(58.94% 0.173 142.1)
XYZxyz(12.2853, 22.2444, 5.5652)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9527 #8D2795
analogous
#669527 #2F9527 #279556
triadic
#2F9527 #272F95 #95272F
tetradic
#2F9527 #276695 #8D2795 #955627
square
#2F9527 #276695 #8D2795 #955627
split-complementary
#2F9527 #562795 #952766
monochromatic
#10340E #20641A #2F9527 #3EC634 #69D661

Accessibility & contrast

On white

3.85
#2F9527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2F9527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9527
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9527#FFFFFF#000000##000000
##2F95271.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998714
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#189080
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9527;
/* rgb */ color: rgb(47, 149, 39);
/* oklch */ color: oklch(58.9% 0.173 142.1);
Tailwind
colors: {
  custom: {
    50: '#76b568',
    500: '#2f9527',
    950: '#000000',
  },
}
SCSS
$custom: #2f9527;
$custom-light: #76b568;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9527",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 115.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.17319,
    "h": 142.1
  },
  "luminance": 0.22246
}

Semantic roles & 50–950 ramp

primary
#2F9527
secondary
#B45DBB
accent
#46E2D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9527

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

Preview Lab → · Contrast checker → · Palette generator →

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