#2F8415#2F8415

#2F8415 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.163 H 139.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F8415
RGBrgb(47, 132, 21)
HSLhsl(106, 73%, 30%)
HSVhsv(106, 84%, 52%)
CMYKcmyk(64.4%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.46, -45.33, 47.44)
CIE-LCHlch(48.46, 65.62, 133.70°)
OKLaboklab(54.08% -0.1245 0.1049)
OKLCHoklch(54.08% 0.163 139.9)
XYZxyz(9.5585, 17.1601, 3.5178)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8415 #6A1584
analogous
#668415 #2F8415 #158433
triadic
#2F8415 #152F84 #84152F
tetradic
#2F8415 #156684 #6A1584 #843315
square
#2F8415 #156684 #6A1584 #843315
split-complementary
#2F8415 #331584 #841566
monochromatic
#091A04 #1C4F0D #2F8415 #42B91D #5CDF35

Accessibility & contrast

On white

4.74
#2F8415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F8415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8415
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8415#FFFFFF#000000##FFFFFF
##2F84151.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7023
Tritanopia (blue-blind)
#237F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8415;
/* rgb */ color: rgb(47, 132, 21);
/* oklch */ color: oklch(54.1% 0.163 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a95e',
    500: '#2f8415',
    950: '#000000',
  },
}
SCSS
$custom: #2f8415;
$custom-light: #74a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8415",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 105.946,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.16284,
    "h": 139.9
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#2F8415
secondary
#9B3CB9
accent
#39EFC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8415

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

Preview Lab → · Contrast checker → · Palette generator →

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