#2F9452#2F9452

#2F9452 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.136 H 151.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F9452
RGBrgb(47, 148, 82)
HSLhsl(141, 52%, 38%)
HSVhsv(141, 68%, 58%)
CMYKcmyk(68.2%, 0%, 44.6%, 42%)
CIE-LABlab(54.44, -44.14, 26.63)
CIE-LCHlch(54.44, 51.55, 148.90°)
OKLaboklab(59.22% -0.119 0.0656)
OKLCHoklch(59.22% 0.136 151.1)
XYZxyz(13.2841, 22.3919, 11.6030)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9452 #942F71
analogous
#3E942F #2F9452 #2F9484
triadic
#2F9452 #522F94 #94522F
tetradic
#2F9452 #2F3E94 #942F71 #94842F
square
#2F9452 #2F3E94 #942F71 #94842F
split-complementary
#2F9452 #842F94 #942F3E
monochromatic
#11371F #206638 #2F9452 #3EC26C #6DD18F

Accessibility & contrast

On white

3.83
#2F9452 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2F9452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9452
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9452#FFFFFF#000000##000000
##2F94521.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884D
Deuteranopia (green-blind)
#887F56
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9452;
/* rgb */ color: rgb(47, 148, 82);
/* oklch */ color: oklch(59.2% 0.136 151.1);
Tailwind
colors: {
  custom: {
    50: '#74b483',
    500: '#2f9452',
    950: '#000000',
  },
}
SCSS
$custom: #2f9452;
$custom-light: #74b483;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9452",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 82
  },
  "hsl": {
    "h": 140.792,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.13594,
    "h": 151.1
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#2F9452
secondary
#B8679C
accent
#4DAADB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9452

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

Preview Lab → · Contrast checker → · Palette generator →

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