#2F8529#2F8529

#2F8529 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.152 H 142.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8529
RGBrgb(47, 133, 41)
HSLhsl(116, 53%, 34%)
HSVhsv(116, 69%, 52%)
CMYKcmyk(64.7%, 0%, 69.2%, 47.8%)
CIE-LABlab(48.93, -44.15, 40.53)
CIE-LCHlch(48.93, 59.94, 137.45°)
OKLaboklab(54.51% -0.1202 0.0933)
OKLCHoklch(54.51% 0.152 142.2)
XYZxyz(9.9595, 17.5385, 4.9578)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8529 #7F2985
analogous
#5D8529 #2F8529 #298551
triadic
#2F8529 #292F85 #85292F
tetradic
#2F8529 #295D85 #7F2985 #855129
square
#2F8529 #295D85 #7F2985 #855129
split-complementary
#2F8529 #512985 #85295D
monochromatic
#0E270C #1E561B #2F8529 #40B437 #63CD5C

Accessibility & contrast

On white

4.66
#2F8529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2F8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8529
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8529#FFFFFF#000000##FFFFFF
##2F85291.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791C
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#1F8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8529;
/* rgb */ color: rgb(47, 133, 41);
/* oklch */ color: oklch(54.5% 0.152 142.2);
Tailwind
colors: {
  custom: {
    50: '#73a968',
    500: '#2f8529',
    950: '#000000',
  },
}
SCSS
$custom: #2f8529;
$custom-light: #73a968;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8529",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 116.087,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.15218,
    "h": 142.2
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#2F8529
secondary
#AC58B2
accent
#4CDCD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8529

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

Preview Lab → · Contrast checker → · Palette generator →

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