#2F9252#2F9252

#2F9252 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.7% C 0.133 H 151.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F9252
RGBrgb(47, 146, 82)
HSLhsl(141, 51%, 38%)
HSVhsv(141, 68%, 57%)
CMYKcmyk(67.8%, 0%, 43.8%, 42.7%)
CIE-LABlab(53.78, -43.35, 25.78)
CIE-LCHlch(53.78, 50.43, 149.26°)
OKLaboklab(58.68% -0.1169 0.0637)
OKLCHoklch(58.68% 0.133 151.4)
XYZxyz(12.9731, 21.7699, 11.4993)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9252 #922F6F
analogous
#3E922F #2F9252 #2F9283
triadic
#2F9252 #522F92 #92522F
tetradic
#2F9252 #2F3E92 #922F6F #92832F
square
#2F9252 #2F3E92 #922F6F #92832F
split-complementary
#2F9252 #832F92 #922F3E
monochromatic
#11351E #206438 #2F9252 #3EC06C #6CD08F

Accessibility & contrast

On white

3.92
#2F9252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2F9252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9252
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9252#FFFFFF#000000##000000
##2F92521.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92864D
Deuteranopia (green-blind)
#867D56
Tritanopia (blue-blind)
#009082
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f9252;
/* rgb */ color: rgb(47, 146, 82);
/* oklch */ color: oklch(58.7% 0.133 151.4);
Tailwind
colors: {
  custom: {
    50: '#74b383',
    500: '#2f9252',
    950: '#000000',
  },
}
SCSS
$custom: #2f9252;
$custom-light: #74b383;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9252",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 82
  },
  "hsl": {
    "h": 141.212,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.13314,
    "h": 151.4
  },
  "luminance": 0.21771
}

Semantic roles & 50–950 ramp

primary
#2F9252
secondary
#B7669A
accent
#4DA9DB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9252

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

Preview Lab → · Contrast checker → · Palette generator →

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