#2F9840#2F9840

#2F9840 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.158 H 145.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F9840
RGBrgb(47, 152, 64)
HSLhsl(130, 53%, 39%)
HSVhsv(130, 69%, 60%)
CMYKcmyk(69.1%, 0%, 57.9%, 40.4%)
CIE-LABlab(55.51, -48.50, 37.25)
CIE-LCHlch(55.51, 61.15, 142.47°)
OKLaboklab(60.03% -0.1309 0.0885)
OKLCHoklch(60.03% 0.158 145.9)
XYZxyz(13.3250, 23.4296, 8.6696)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9840 #982F87
analogous
#53982F #2F9840 #2F9875
triadic
#2F9840 #402F98 #98402F
tetradic
#2F9840 #2F5398 #982F87 #98752F
square
#2F9840 #2F5398 #982F87 #98752F
split-complementary
#2F9840 #752F98 #982F53
monochromatic
#123B19 #21692C #2F9840 #40C456 #6FD27F

Accessibility & contrast

On white

3.69
#2F9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2F9840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9840
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9840#FFFFFF#000000##000000
##2F98401.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#089485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9840;
/* rgb */ color: rgb(47, 152, 64);
/* oklch */ color: oklch(60.0% 0.158 145.9);
Tailwind
colors: {
  custom: {
    50: '#76b777',
    500: '#2f9840',
    950: '#000000',
  },
}
SCSS
$custom: #2f9840;
$custom-light: #76b777;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9840",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 129.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60029,
    "c": 0.15806,
    "h": 145.9
  },
  "luminance": 0.23431
}

Semantic roles & 50–950 ramp

primary
#2F9840
secondary
#BA69AD
accent
#4CC5DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #2F9840

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

Preview Lab → · Contrast checker → · Palette generator →

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