#2F9531#2F9531

#2F9531 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.166 H 143.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F9531
RGBrgb(47, 149, 49)
HSLhsl(121, 52%, 38%)
HSVhsv(121, 68%, 58%)
CMYKcmyk(68.5%, 0%, 67.1%, 41.6%)
CIE-LABlab(54.36, -49.21, 42.93)
CIE-LCHlch(54.36, 65.30, 138.90°)
OKLaboklab(59.03% -0.1335 0.0993)
OKLCHoklch(59.03% 0.166 143.4)
XYZxyz(12.4734, 22.3197, 6.5559)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9531 #952F93
analogous
#60952F #2F9531 #2F9564
triadic
#2F9531 #312F95 #95312F
tetradic
#2F9531 #2F6095 #952F93 #95642F
square
#2F9531 #2F6095 #952F93 #95642F
split-complementary
#2F9531 #642F95 #952F60
monochromatic
#123812 #206622 #2F9531 #3FC241 #6DD16F

Accessibility & contrast

On white

3.84
#2F9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2F9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9531
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9531#FFFFFF#000000##000000
##2F95311.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#149180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9531;
/* rgb */ color: rgb(47, 149, 49);
/* oklch */ color: oklch(59.0% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#76b56e',
    500: '#2f9531',
    950: '#000000',
  },
}
SCSS
$custom: #2f9531;
$custom-light: #76b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9531",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 121.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.16637,
    "h": 143.4
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#2F9531
secondary
#B867B7
accent
#4CD9DB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9531

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

Preview Lab → · Contrast checker → · Palette generator →

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