#2F7515#2F7515

#2F7515 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.145 H 139.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7515
RGBrgb(47, 117, 21)
HSLhsl(104, 70%, 27%)
HSVhsv(104, 82%, 46%)
CMYKcmyk(59.8%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.33, -39.68, 42.65)
CIE-LCHlch(43.33, 58.26, 132.94°)
OKLaboklab(49.84% -0.1094 0.0949)
OKLCHoklch(49.84% 0.145 139.1)
XYZxyz(7.6686, 13.3804, 2.8879)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7515 #5B1575
analogous
#5F7515 #2F7515 #15752B
triadic
#2F7515 #152F75 #75152F
tetradic
#2F7515 #155F75 #5B1575 #752B15
square
#2F7515 #155F75 #5B1575 #752B15
split-complementary
#2F7515 #2B1575 #75155F
monochromatic
#0A1A05 #1A410C #2F7515 #44A91E #5AD92B

Accessibility & contrast

On white

5.71
#2F7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7515
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7515#FFFFFF#000000##FFFFFF
##2F75151.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#277163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7515;
/* rgb */ color: rgb(47, 117, 21);
/* oklch */ color: oklch(49.8% 0.145 139.1);
Tailwind
colors: {
  custom: {
    50: '#719d5b',
    500: '#2f7515',
    950: '#000000',
  },
}
SCSS
$custom: #2f7515;
$custom-light: #719d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7515",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 103.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.14478,
    "h": 139.1
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#2F7515
secondary
#8D3BAB
accent
#3BECBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7515

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

Preview Lab → · Contrast checker → · Palette generator →

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