#2F8114#2F8114

#2F8114 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.160 H 139.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F8114
RGBrgb(47, 129, 20)
HSLhsl(105, 73%, 29%)
HSVhsv(105, 84%, 51%)
CMYKcmyk(63.6%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.44, -44.29, 46.79)
CIE-LCHlch(47.44, 64.43, 133.43°)
OKLaboklab(53.23% -0.1218 0.1034)
OKLCHoklch(53.23% 0.16 139.7)
XYZxyz(9.1484, 16.3545, 3.3363)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8114 #661481
analogous
#668114 #2F8114 #148130
triadic
#2F8114 #142F81 #81142F
tetradic
#2F8114 #146681 #661481 #813014
square
#2F8114 #146681 #661481 #813014
split-complementary
#2F8114 #301481 #811466
monochromatic
#0A1A04 #1C4C0C #2F8114 #42B61C #5CDF30

Accessibility & contrast

On white

4.92
#2F8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8114
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8114#FFFFFF#000000##FFFFFF
##2F81141.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8114;
/* rgb */ color: rgb(47, 129, 20);
/* oklch */ color: oklch(53.2% 0.160 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#2f8114',
    950: '#000000',
  },
}
SCSS
$custom: #2f8114;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8114",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 105.138,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.15975,
    "h": 139.7
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#2F8114
secondary
#983BB6
accent
#38F0C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8114

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

Preview Lab → · Contrast checker → · Palette generator →

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