#2F9542#2F9542

#2F9542 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.152 H 146.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2F9542
RGBrgb(47, 149, 66)
HSLhsl(131, 52%, 38%)
HSVhsv(131, 68%, 58%)
CMYKcmyk(68.5%, 0%, 55.7%, 41.6%)
CIE-LABlab(54.54, -47.10, 35.11)
CIE-LCHlch(54.54, 58.75, 143.30°)
OKLaboklab(59.24% -0.1271 0.084)
OKLCHoklch(59.24% 0.152 146.6)
XYZxyz(12.9022, 22.4912, 8.8145)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9542 #952F82
analogous
#4F952F #2F9542 #2F9575
triadic
#2F9542 #422F95 #95422F
tetradic
#2F9542 #2F4F95 #952F82 #95752F
square
#2F9542 #2F4F95 #952F82 #95752F
split-complementary
#2F9542 #752F95 #952F4F
monochromatic
#123819 #20662D #2F9542 #3FC257 #6DD180

Accessibility & contrast

On white

3.82
#2F9542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#2F9542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9542
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9542#FFFFFF#000000##000000
##2F95421.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#8B7F48
Tritanopia (blue-blind)
#099282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9542;
/* rgb */ color: rgb(47, 149, 66);
/* oklch */ color: oklch(59.2% 0.152 146.6);
Tailwind
colors: {
  custom: {
    50: '#75b578',
    500: '#2f9542',
    950: '#000000',
  },
}
SCSS
$custom: #2f9542;
$custom-light: #75b578;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9542",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 131.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59236,
    "c": 0.15235,
    "h": 146.6
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#2F9542
secondary
#B867A9
accent
#4CC1DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9542

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

Preview Lab → · Contrast checker → · Palette generator →

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