#2F9545#2F9545

#2F9545 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.3% C 0.150 H 147.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F9545
RGBrgb(47, 149, 69)
HSLhsl(133, 52%, 38%)
HSVhsv(133, 68%, 58%)
CMYKcmyk(68.5%, 0%, 53.7%, 41.6%)
CIE-LABlab(54.58, -46.66, 33.64)
CIE-LCHlch(54.58, 57.53, 144.21°)
OKLaboklab(59.28% -0.1259 0.0809)
OKLCHoklch(59.28% 0.15 147.3)
XYZxyz(12.9930, 22.5275, 9.2926)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9545 #952F7F
analogous
#4C952F #2F9545 #2F9578
triadic
#2F9545 #452F95 #95452F
tetradic
#2F9545 #2F4C95 #952F7F #95782F
square
#2F9545 #2F4C95 #952F7F #95782F
split-complementary
#2F9545 #782F95 #952F4C
monochromatic
#12381A #20662F #2F9545 #3FC25B #6DD183

Accessibility & contrast

On white

3.81
#2F9545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#2F9545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9545
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9545#FFFFFF#000000##000000
##2F95451.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883E
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#079283
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9545;
/* rgb */ color: rgb(47, 149, 69);
/* oklch */ color: oklch(59.3% 0.150 147.3);
Tailwind
colors: {
  custom: {
    50: '#75b57a',
    500: '#2f9545',
    950: '#000000',
  },
}
SCSS
$custom: #2f9545;
$custom-light: #75b57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9545",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 69
  },
  "hsl": {
    "h": 132.941,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.14964,
    "h": 147.3
  },
  "luminance": 0.22529
}

Semantic roles & 50–950 ramp

primary
#2F9545
secondary
#B867A7
accent
#4CBDDB
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9545

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

Preview Lab → · Contrast checker → · Palette generator →

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