#2F9548#2F9548

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

Color values

HEX#2F9548
RGBrgb(47, 149, 72)
HSLhsl(135, 52%, 38%)
HSVhsv(135, 68%, 58%)
CMYKcmyk(68.5%, 0%, 51.7%, 41.6%)
CIE-LABlab(54.62, -46.21, 32.15)
CIE-LCHlch(54.62, 56.29, 145.17°)
OKLaboklab(59.33% -0.1246 0.0778)
OKLCHoklch(59.33% 0.147 148)
XYZxyz(13.0885, 22.5657, 9.7955)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9548 #952F7C
analogous
#49952F #2F9548 #2F957B
triadic
#2F9548 #482F95 #95482F
tetradic
#2F9548 #2F4995 #952F7C #957B2F
square
#2F9548 #2F4995 #952F7C #957B2F
split-complementary
#2F9548 #7B2F95 #952F49
monochromatic
#12381B #206632 #2F9548 #3FC25F #6DD186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9548#FFFFFF#000000##000000
##2F95481.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)
#978841
Deuteranopia (green-blind)
#8A7F4E
Tritanopia (blue-blind)
#039283
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f9548;
/* rgb */ color: rgb(47, 149, 72);
/* oklch */ color: oklch(59.3% 0.147 148.0);
Tailwind
colors: {
  custom: {
    50: '#75b57c',
    500: '#2f9548',
    950: '#000000',
  },
}
SCSS
$custom: #2f9548;
$custom-light: #75b57c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9548",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 72
  },
  "hsl": {
    "h": 134.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59326,
    "c": 0.14686,
    "h": 148
  },
  "luminance": 0.22567
}

Semantic roles & 50–950 ramp

primary
#2F9548
secondary
#B867A5
accent
#4CB8DB
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2F9548

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

Preview Lab → · Contrast checker → · Palette generator →

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