#2F7B10#2F7B10

#2F7B10 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.154 H 139.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F7B10
RGBrgb(47, 123, 16)
HSLhsl(103, 77%, 27%)
HSVhsv(103, 87%, 48%)
CMYKcmyk(61.8%, 0%, 87%, 51.8%)
CIE-LABlab(45.37, -42.26, 46.02)
CIE-LCHlch(45.37, 62.48, 132.56°)
OKLaboklab(51.51% -0.1165 0.1012)
OKLCHoklch(51.51% 0.154 139)
XYZxyz(8.3484, 14.8069, 2.9082)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B10 #5C107B
analogous
#647B10 #2F7B10 #107B27
triadic
#2F7B10 #102F7B #7B102F
tetradic
#2F7B10 #10647B #5C107B #7B2710
square
#2F7B10 #10647B #5C107B #7B2710
split-complementary
#2F7B10 #27107B #7B1064
monochromatic
#0A1B04 #1A4509 #2F7B10 #44B117 #5AE223

Accessibility & contrast

On white

5.30
#2F7B10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F7B10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B10
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B10#FFFFFF#000000##FFFFFF
##2F7B101.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#267768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7b10;
/* rgb */ color: rgb(47, 123, 16);
/* oklch */ color: oklch(51.5% 0.154 139.0);
Tailwind
colors: {
  custom: {
    50: '#72a25a',
    500: '#2f7b10',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b10;
$custom-light: #72a25a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b10",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 16
  },
  "hsl": {
    "h": 102.617,
    "s": 76.978,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.15435,
    "h": 139
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#2F7B10
secondary
#8E35B2
accent
#34F4BC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7B10

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

Preview Lab → · Contrast checker → · Palette generator →

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