#2F7520#2F7520

#2F7520 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.138 H 140.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F7520
RGBrgb(47, 117, 32)
HSLhsl(109, 57%, 29%)
HSVhsv(109, 73%, 46%)
CMYKcmyk(59.8%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.40, -38.83, 38.54)
CIE-LCHlch(43.40, 54.71, 135.21°)
OKLaboklab(49.92% -0.1064 0.0879)
OKLCHoklch(49.92% 0.138 140.4)
XYZxyz(7.7939, 13.4305, 3.5479)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7520 #662075
analogous
#5A7520 #2F7520 #20753C
triadic
#2F7520 #202F75 #75202F
tetradic
#2F7520 #205A75 #662075 #753C20
square
#2F7520 #205A75 #662075 #753C20
split-complementary
#2F7520 #3C2075 #75205A
monochromatic
#0A1807 #1C4513 #2F7520 #42A52D #5CCC44

Accessibility & contrast

On white

5.70
#2F7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7520
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7520#FFFFFF#000000##FFFFFF
##2F75201.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7520;
/* rgb */ color: rgb(47, 117, 32);
/* oklch */ color: oklch(49.9% 0.138 140.4);
Tailwind
colors: {
  custom: {
    50: '#709d61',
    500: '#2f7520',
    950: '#000000',
  },
}
SCSS
$custom: #2f7520;
$custom-light: #709d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7520",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 109.412,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.13801,
    "h": 140.4
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#2F7520
secondary
#9848A8
accent
#47E0C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7520

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

Preview Lab → · Contrast checker → · Palette generator →

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