#2F9738#2F9738

#2F9738 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.7% C 0.163 H 144.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F9738
RGBrgb(47, 151, 56)
HSLhsl(125, 53%, 39%)
HSVhsv(125, 69%, 59%)
CMYKcmyk(68.9%, 0%, 62.9%, 40.8%)
CIE-LABlab(55.09, -49.15, 40.59)
CIE-LCHlch(55.09, 63.74, 140.45°)
OKLaboklab(59.66% -0.133 0.095)
OKLCHoklch(59.66% 0.163 144.5)
XYZxyz(12.9519, 23.0217, 7.5017)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9738 #972F8E
analogous
#5A972F #2F9738 #2F976C
triadic
#2F9738 #382F97 #97382F
tetradic
#2F9738 #2F5A97 #972F8E #976C2F
square
#2F9738 #2F5A97 #972F8E #976C2F
split-complementary
#2F9738 #6C2F97 #972F5A
monochromatic
#123A15 #206827 #2F9738 #40C34B #6ED277

Accessibility & contrast

On white

3.75
#2F9738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#2F9738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9738
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9738#FFFFFF#000000##000000
##2F97381.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#8D8140
Tritanopia (blue-blind)
#0F9383
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9738;
/* rgb */ color: rgb(47, 151, 56);
/* oklch */ color: oklch(59.7% 0.163 144.5);
Tailwind
colors: {
  custom: {
    50: '#76b772',
    500: '#2f9738',
    950: '#000000',
  },
}
SCSS
$custom: #2f9738;
$custom-light: #76b772;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9738",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 125.192,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.16347,
    "h": 144.5
  },
  "luminance": 0.23023
}

Semantic roles & 50–950 ramp

primary
#2F9738
secondary
#B968B2
accent
#4CCFDC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #2F9738

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

Preview Lab → · Contrast checker → · Palette generator →

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