#2F8530#2F8530

#2F8530 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.147 H 143.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F8530
RGBrgb(47, 133, 48)
HSLhsl(121, 48%, 35%)
HSVhsv(121, 65%, 52%)
CMYKcmyk(64.7%, 0%, 63.9%, 47.8%)
CIE-LABlab(49.00, -43.39, 37.42)
CIE-LCHlch(49.00, 57.30, 139.22°)
OKLaboklab(54.59% -0.1178 0.0875)
OKLCHoklch(54.59% 0.147 143.4)
XYZxyz(10.0927, 17.5918, 5.6594)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8530 #852F84
analogous
#59852F #2F8530 #2F855B
triadic
#2F8530 #302F85 #85302F
tetradic
#2F8530 #2F5985 #852F84 #855B2F
square
#2F8530 #2F5985 #852F84 #855B2F
split-complementary
#2F8530 #5B2F85 #852F59
monochromatic
#0F2B0F #1F5820 #2F8530 #3FB240 #66C967

Accessibility & contrast

On white

4.65
#2F8530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8530
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8530#FFFFFF#000000##FFFFFF
##2F85301.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#7D7237
Tritanopia (blue-blind)
#1D8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8530;
/* rgb */ color: rgb(47, 133, 48);
/* oklch */ color: oklch(54.6% 0.147 143.4);
Tailwind
colors: {
  custom: {
    50: '#72a96c',
    500: '#2f8530',
    950: '#000000',
  },
}
SCSS
$custom: #2f8530;
$custom-light: #72a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8530",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 120.698,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54587,
    "c": 0.14672,
    "h": 143.4
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#2F8530
secondary
#B060AF
accent
#50D6D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8530

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

Preview Lab → · Contrast checker → · Palette generator →

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