#2F9839#2F9839

#2F9839 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.164 H 144.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F9839
RGBrgb(47, 152, 57)
HSLhsl(126, 53%, 39%)
HSVhsv(126, 69%, 60%)
CMYKcmyk(69.1%, 0%, 62.5%, 40.4%)
CIE-LABlab(55.44, -49.39, 40.51)
CIE-LCHlch(55.44, 63.88, 140.64°)
OKLaboklab(59.94% -0.1336 0.095)
OKLCHoklch(59.94% 0.164 144.6)
XYZxyz(13.1382, 23.3548, 7.6856)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9839 #982F8E
analogous
#5A982F #2F9839 #2F986E
triadic
#2F9839 #392F98 #98392F
tetradic
#2F9839 #2F5A98 #982F8E #986E2F
square
#2F9839 #2F5A98 #982F8E #986E2F
split-complementary
#2F9839 #6E2F98 #982F5A
monochromatic
#123B16 #216927 #2F9839 #40C44D #6FD278

Accessibility & contrast

On white

3.70
#2F9839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2F9839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9839
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9839#FFFFFF#000000##000000
##2F98391.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2E
Deuteranopia (green-blind)
#8E8141
Tritanopia (blue-blind)
#0E9484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9839;
/* rgb */ color: rgb(47, 152, 57);
/* oklch */ color: oklch(59.9% 0.164 144.6);
Tailwind
colors: {
  custom: {
    50: '#76b773',
    500: '#2f9839',
    950: '#000000',
  },
}
SCSS
$custom: #2f9839;
$custom-light: #76b773;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9839",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 57
  },
  "hsl": {
    "h": 125.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.16393,
    "h": 144.6
  },
  "luminance": 0.23356
}

Semantic roles & 50–950 ramp

primary
#2F9839
secondary
#BA69B2
accent
#4CCEDC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #2F9839

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

Preview Lab → · Contrast checker → · Palette generator →

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