#2F9830#2F9830

#2F9830 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.171 H 143.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F9830
RGBrgb(47, 152, 48)
HSLhsl(121, 53%, 39%)
HSVhsv(121, 69%, 60%)
CMYKcmyk(69.1%, 0%, 68.4%, 40.4%)
CIE-LABlab(55.35, -50.38, 44.43)
CIE-LCHlch(55.35, 67.17, 138.59°)
OKLaboklab(59.85% -0.1367 0.1023)
OKLCHoklch(59.85% 0.171 143.2)
XYZxyz(12.9333, 23.2728, 6.6063)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9830 #982F97
analogous
#63982F #2F9830 #2F9865
triadic
#2F9830 #302F98 #98302F
tetradic
#2F9830 #2F6398 #982F97 #98652F
square
#2F9830 #2F6398 #982F97 #98652F
split-complementary
#2F9830 #652F98 #982F63
monochromatic
#123B12 #216921 #2F9830 #40C441 #6FD270

Accessibility & contrast

On white

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

On black

5.65
#2F9830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9830
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9830#FFFFFF#000000##000000
##2F98301.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A22
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#139483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9830;
/* rgb */ color: rgb(47, 152, 48);
/* oklch */ color: oklch(59.8% 0.171 143.2);
Tailwind
colors: {
  custom: {
    50: '#77b76e',
    500: '#2f9830',
    950: '#000000',
  },
}
SCSS
$custom: #2f9830;
$custom-light: #77b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9830",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 120.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.17078,
    "h": 143.2
  },
  "luminance": 0.23274
}

Semantic roles & 50–950 ramp

primary
#2F9830
secondary
#BA69B9
accent
#4CDBDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9830

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

Preview Lab → · Contrast checker → · Palette generator →

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