#2F8015#2F8015

#2F8015 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.158 H 139.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F8015
RGBrgb(47, 128, 21)
HSLhsl(105, 72%, 29%)
HSVhsv(105, 84%, 50%)
CMYKcmyk(63.3%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.10, -43.86, 46.18)
CIE-LCHlch(47.10, 63.69, 133.53°)
OKLaboklab(52.95% -0.1206 0.1023)
OKLCHoklch(52.95% 0.158 139.7)
XYZxyz(9.0264, 16.0960, 3.3405)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8015 #661580
analogous
#658015 #2F8015 #158031
triadic
#2F8015 #152F80 #80152F
tetradic
#2F8015 #156580 #661580 #803115
square
#2F8015 #156580 #661580 #803115
split-complementary
#2F8015 #311580 #801565
monochromatic
#0A1A04 #1C4B0C #2F8015 #42B51E #5CDD32

Accessibility & contrast

On white

4.98
#2F8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8015
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8015#FFFFFF#000000##FFFFFF
##2F80151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#247B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8015;
/* rgb */ color: rgb(47, 128, 21);
/* oklch */ color: oklch(53.0% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#2f8015',
    950: '#000000',
  },
}
SCSS
$custom: #2f8015;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8015",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 105.421,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.15812,
    "h": 139.7
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#2F8015
secondary
#983CB5
accent
#39EFC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8015

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

Preview Lab → · Contrast checker → · Palette generator →

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