#2F7527#2F7527

#2F7527 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.133 H 141.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7527
RGBrgb(47, 117, 39)
HSLhsl(114, 50%, 31%)
HSVhsv(114, 67%, 46%)
CMYKcmyk(59.8%, 0%, 66.7%, 54.1%)
CIE-LABlab(43.47, -38.12, 35.48)
CIE-LCHlch(43.47, 52.08, 137.06°)
OKLaboklab(49.99% -0.104 0.0823)
OKLCHoklch(49.99% 0.133 141.6)
XYZxyz(7.8994, 13.4727, 4.1033)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7527 #6D2775
analogous
#567527 #2F7527 #277546
triadic
#2F7527 #272F75 #75272F
tetradic
#2F7527 #275675 #6D2775 #754627
square
#2F7527 #275675 #6D2775 #754627
split-complementary
#2F7527 #462775 #752756
monochromatic
#0A1908 #1D4718 #2F7527 #41A336 #5DC551

Accessibility & contrast

On white

5.68
#2F7527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F7527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7527
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7527#FFFFFF#000000##FFFFFF
##2F75271.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#6F642E
Tritanopia (blue-blind)
#257165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7527;
/* rgb */ color: rgb(47, 117, 39);
/* oklch */ color: oklch(50.0% 0.133 141.6);
Tailwind
colors: {
  custom: {
    50: '#709d65',
    500: '#2f7527',
    950: '#000000',
  },
}
SCSS
$custom: #2f7527;
$custom-light: #709d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7527",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 39
  },
  "hsl": {
    "h": 113.846,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49993,
    "c": 0.13267,
    "h": 141.6
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#2F7527
secondary
#9E51A7
accent
#4EDACB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7527

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

Preview Lab → · Contrast checker → · Palette generator →

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