#2F9528#2F9528

#2F9528 is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.173 H 142.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F9528
RGBrgb(47, 149, 40)
HSLhsl(116, 58%, 37%)
HSVhsv(116, 73%, 58%)
CMYKcmyk(68.5%, 0%, 73.2%, 41.6%)
CIE-LABlab(54.29, -50.06, 46.58)
CIE-LCHlch(54.29, 68.38, 137.07°)
OKLaboklab(58.95% -0.1363 0.1058)
OKLCHoklch(58.95% 0.173 142.2)
XYZxyz(12.3020, 22.2511, 5.6537)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9528 #8E2895
analogous
#669528 #2F9528 #289558
triadic
#2F9528 #282F95 #95282F
tetradic
#2F9528 #286695 #8E2895 #955828
square
#2F9528 #286695 #8E2895 #955828
split-complementary
#2F9528 #582895 #952866
monochromatic
#11350E #20651B #2F9528 #3EC535 #6AD562

Accessibility & contrast

On white

3.85
#2F9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2F9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9528
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9528#FFFFFF#000000##000000
##2F95281.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#8C7F33
Tritanopia (blue-blind)
#179080
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9528;
/* rgb */ color: rgb(47, 149, 40);
/* oklch */ color: oklch(58.9% 0.173 142.2);
Tailwind
colors: {
  custom: {
    50: '#76b569',
    500: '#2f9528',
    950: '#000000',
  },
}
SCSS
$custom: #2f9528;
$custom-light: #76b569;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9528",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 116.147,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.17256,
    "h": 142.2
  },
  "luminance": 0.22252
}

Semantic roles & 50–950 ramp

primary
#2F9528
secondary
#B55EBB
accent
#47E1D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9528

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

Preview Lab → · Contrast checker → · Palette generator →

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