#2F7015#2F7015

#2F7015 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.139 H 138.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F7015
RGBrgb(47, 112, 21)
HSLhsl(103, 68%, 26%)
HSVhsv(103, 81%, 44%)
CMYKcmyk(58%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.60, -37.71, 41.00)
CIE-LCHlch(41.60, 55.70, 132.60°)
OKLaboklab(48.41% -0.104 0.0914)
OKLCHoklch(48.41% 0.139 138.7)
XYZxyz(7.1015, 12.2462, 2.6989)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7015 #561570
analogous
#5C7015 #2F7015 #157028
triadic
#2F7015 #152F70 #70152F
tetradic
#2F7015 #155C70 #561570 #702815
square
#2F7015 #155C70 #561570 #702815
split-complementary
#2F7015 #281570 #70155C
monochromatic
#0B1A05 #193C0B #2F7015 #45A41F #5AD729

Accessibility & contrast

On white

6.09
#2F7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7015
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7015#FFFFFF#000000##FFFFFF
##2F70151.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#296C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7015;
/* rgb */ color: rgb(47, 112, 21);
/* oklch */ color: oklch(48.4% 0.139 138.7);
Tailwind
colors: {
  custom: {
    50: '#709a5a',
    500: '#2f7015',
    950: '#000000',
  },
}
SCSS
$custom: #2f7015;
$custom-light: #709a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7015",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 102.857,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.13851,
    "h": 138.7
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#2F7015
secondary
#873BA6
accent
#3DEBB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7015

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

Preview Lab → · Contrast checker → · Palette generator →

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