#2F9837#2F9837

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

Color values

HEX#2F9837
RGBrgb(47, 152, 55)
HSLhsl(125, 53%, 39%)
HSVhsv(125, 69%, 60%)
CMYKcmyk(69.1%, 0%, 63.8%, 40.4%)
CIE-LABlab(55.42, -49.62, 41.41)
CIE-LCHlch(55.42, 64.63, 140.16°)
OKLaboklab(59.92% -0.1344 0.0967)
OKLCHoklch(59.92% 0.166 144.3)
XYZxyz(13.0893, 23.3353, 7.4280)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9837 #982F90
analogous
#5C982F #2F9837 #2F986C
triadic
#2F9837 #372F98 #98372F
tetradic
#2F9837 #2F5C98 #982F90 #986C2F
square
#2F9837 #2F5C98 #982F90 #986C2F
split-complementary
#2F9837 #6C2F98 #982F5C
monochromatic
#123B15 #216926 #2F9837 #40C44A #6FD277

Accessibility & contrast

On white

3.71
#2F9837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9837#FFFFFF#000000##000000
##2F98371.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#8E813F
Tritanopia (blue-blind)
#0F9483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9837;
/* rgb */ color: rgb(47, 152, 55);
/* oklch */ color: oklch(59.9% 0.166 144.3);
Tailwind
colors: {
  custom: {
    50: '#76b772',
    500: '#2f9837',
    950: '#000000',
  },
}
SCSS
$custom: #2f9837;
$custom-light: #76b772;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9837",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 124.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.16553,
    "h": 144.3
  },
  "luminance": 0.23337
}

Semantic roles & 50–950 ramp

primary
#2F9837
secondary
#BA69B4
accent
#4CD1DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #2F9837

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

Preview Lab → · Contrast checker → · Palette generator →

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