#2F7B14#2F7B14

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

Color values

HEX#2F7B14
RGBrgb(47, 123, 20)
HSLhsl(104, 72%, 28%)
HSVhsv(104, 84%, 48%)
CMYKcmyk(61.8%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.39, -42.05, 44.90)
CIE-LCHlch(45.39, 61.51, 133.12°)
OKLaboklab(51.54% -0.1158 0.0994)
OKLCHoklch(51.54% 0.153 139.3)
XYZxyz(8.3812, 14.8200, 3.0806)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B14 #60147B
analogous
#627B14 #2F7B14 #147B2C
triadic
#2F7B14 #142F7B #7B142F
tetradic
#2F7B14 #14627B #60147B #7B2C14
square
#2F7B14 #14627B #60147B #7B2C14
split-complementary
#2F7B14 #2C147B #7B1462
monochromatic
#0A1A04 #1B460B #2F7B14 #43B01D #5BDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7B14#FFFFFF#000000##FFFFFF
##2F7B141.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)
#756921
Tritanopia (blue-blind)
#267768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7b14;
/* rgb */ color: rgb(47, 123, 20);
/* oklch */ color: oklch(51.5% 0.153 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a25c',
    500: '#2f7b14',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b14;
$custom-light: #72a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b14",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 104.272,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.15261,
    "h": 139.3
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#2F7B14
secondary
#923AB1
accent
#39EFBF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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