#2F9539#2F9539

#2F9539 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.160 H 144.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F9539
RGBrgb(47, 149, 57)
HSLhsl(126, 52%, 38%)
HSVhsv(126, 68%, 58%)
CMYKcmyk(68.5%, 0%, 61.7%, 41.6%)
CIE-LABlab(54.44, -48.30, 39.37)
CIE-LCHlch(54.44, 62.31, 140.81°)
OKLaboklab(59.12% -0.1307 0.0925)
OKLCHoklch(59.12% 0.16 144.7)
XYZxyz(12.6574, 22.3933, 7.5254)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9539 #952F8B
analogous
#58952F #2F9539 #2F956C
triadic
#2F9539 #392F95 #95392F
tetradic
#2F9539 #2F5895 #952F8B #956C2F
square
#2F9539 #2F5895 #952F8B #956C2F
split-complementary
#2F9539 #6C2F95 #952F58
monochromatic
#123815 #206627 #2F9539 #3FC24C #6DD177

Accessibility & contrast

On white

3.83
#2F9539 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2F9539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9539
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9539#FFFFFF#000000##000000
##2F95391.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872F
Deuteranopia (green-blind)
#8B7F41
Tritanopia (blue-blind)
#109181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9539;
/* rgb */ color: rgb(47, 149, 57);
/* oklch */ color: oklch(59.1% 0.160 144.7);
Tailwind
colors: {
  custom: {
    50: '#75b573',
    500: '#2f9539',
    950: '#000000',
  },
}
SCSS
$custom: #2f9539;
$custom-light: #75b573;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9539",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 57
  },
  "hsl": {
    "h": 125.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.16011,
    "h": 144.7
  },
  "luminance": 0.22395
}

Semantic roles & 50–950 ramp

primary
#2F9539
secondary
#B867B0
accent
#4CCDDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9539

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

Preview Lab → · Contrast checker → · Palette generator →

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