#2F9852#2F9852

#2F9852 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.141 H 150.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F9852
RGBrgb(47, 152, 82)
HSLhsl(140, 53%, 39%)
HSVhsv(140, 69%, 60%)
CMYKcmyk(69.1%, 0%, 46.1%, 40.4%)
CIE-LABlab(55.75, -45.72, 28.32)
CIE-LCHlch(55.75, 53.78, 148.22°)
OKLaboklab(60.31% -0.1232 0.0695)
OKLCHoklch(60.31% 0.141 150.6)
XYZxyz(13.9224, 23.6685, 11.8158)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9852 #982F75
analogous
#41982F #2F9852 #2F9887
triadic
#2F9852 #522F98 #98522F
tetradic
#2F9852 #2F4198 #982F75 #98872F
square
#2F9852 #2F4198 #982F75 #98872F
split-complementary
#2F9852 #872F98 #982F41
monochromatic
#123B20 #216939 #2F9852 #40C46C #6FD290

Accessibility & contrast

On white

3.66
#2F9852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2F9852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9852
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9852#FFFFFF#000000##000000
##2F98521.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B4D
Deuteranopia (green-blind)
#8C8257
Tritanopia (blue-blind)
#009587
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f9852;
/* rgb */ color: rgb(47, 152, 82);
/* oklch */ color: oklch(60.3% 0.141 150.6);
Tailwind
colors: {
  custom: {
    50: '#75b783',
    500: '#2f9852',
    950: '#000000',
  },
}
SCSS
$custom: #2f9852;
$custom-light: #75b783;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9852",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 82
  },
  "hsl": {
    "h": 140,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.14148,
    "h": 150.6
  },
  "luminance": 0.2367
}

Semantic roles & 50–950 ramp

primary
#2F9852
secondary
#BA699F
accent
#4CACDC
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9852

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

Preview Lab → · Contrast checker → · Palette generator →

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