#2F9248#2F9248

#2F9248 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.5% C 0.143 H 148.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F9248
RGBrgb(47, 146, 72)
HSLhsl(135, 51%, 38%)
HSVhsv(135, 68%, 57%)
CMYKcmyk(67.8%, 0%, 50.7%, 42.7%)
CIE-LABlab(53.63, -45.05, 30.92)
CIE-LCHlch(53.63, 54.64, 145.54°)
OKLaboklab(58.51% -0.1215 0.075)
OKLCHoklch(58.51% 0.143 148.3)
XYZxyz(12.6199, 21.6287, 9.6393)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9248 #922F79
analogous
#47922F #2F9248 #2F927A
triadic
#2F9248 #482F92 #92482F
tetradic
#2F9248 #2F4792 #922F79 #927A2F
square
#2F9248 #2F4792 #922F79 #927A2F
split-complementary
#2F9248 #7A2F92 #922F47
monochromatic
#11351A #206431 #2F9248 #3EC05F #6CD085

Accessibility & contrast

On white

3.94
#2F9248 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#2F9248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9248
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9248#FFFFFF#000000##000000
##2F92481.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938542
Deuteranopia (green-blind)
#877D4D
Tritanopia (blue-blind)
#078F81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9248;
/* rgb */ color: rgb(47, 146, 72);
/* oklch */ color: oklch(58.5% 0.143 148.3);
Tailwind
colors: {
  custom: {
    50: '#74b37c',
    500: '#2f9248',
    950: '#000000',
  },
}
SCSS
$custom: #2f9248;
$custom-light: #74b37c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9248",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 72
  },
  "hsl": {
    "h": 135.152,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.14277,
    "h": 148.3
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#2F9248
secondary
#B766A2
accent
#4DB7DB
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9248

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

Preview Lab → · Contrast checker → · Palette generator →

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