#2F9526#2F9526

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

Color values

HEX#2F9526
RGBrgb(47, 149, 38)
HSLhsl(115, 59%, 37%)
HSVhsv(115, 74%, 58%)
CMYKcmyk(68.5%, 0%, 74.5%, 41.6%)
CIE-LABlab(54.28, -50.23, 47.33)
CIE-LCHlch(54.28, 69.02, 136.70°)
OKLaboklab(58.93% -0.1369 0.1071)
OKLCHoklch(58.93% 0.174 142)
XYZxyz(12.2689, 22.2379, 5.4791)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9526 #8C2695
analogous
#679526 #2F9526 #269555
triadic
#2F9526 #262F95 #95262F
tetradic
#2F9526 #266795 #8C2695 #955526
square
#2F9526 #266795 #8C2695 #955526
split-complementary
#2F9526 #552695 #952667
monochromatic
#10330D #20641A #2F9526 #3EC632 #69D65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9526#FFFFFF#000000##000000
##2F95261.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)
#998711
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#18907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9526;
/* rgb */ color: rgb(47, 149, 38);
/* oklch */ color: oklch(58.9% 0.174 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b568',
    500: '#2f9526',
    950: '#000000',
  },
}
SCSS
$custom: #2f9526;
$custom-light: #76b568;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9526",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 115.135,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.1738,
    "h": 142
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#2F9526
secondary
#B45BBB
accent
#45E3D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9526

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

Preview Lab → · Contrast checker → · Palette generator →

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