#2F8D1C#2F8D1C

#2F8D1C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.170 H 140.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D1C
RGBrgb(47, 141, 28)
HSLhsl(110, 67%, 33%)
HSVhsv(110, 80%, 55%)
CMYKcmyk(66.7%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.54, -48.15, 48.16)
CIE-LCHlch(51.54, 68.10, 134.99°)
OKLaboklab(56.64% -0.1318 0.1074)
OKLCHoklch(56.64% 0.17 140.8)
XYZxyz(10.9062, 19.7368, 4.3332)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D1C #7A1C8D
analogous
#678D1C #2F8D1C #1C8D42
triadic
#2F8D1C #1C2F8D #8D1C2F
tetradic
#2F8D1C #1C678D #7A1C8D #8D421C
square
#2F8D1C #1C678D #7A1C8D #8D421C
split-complementary
#2F8D1C #421C8D #8D1C67
monochromatic
#0D2708 #1E5A12 #2F8D1C #40C026 #61DB49

Accessibility & contrast

On white

4.24
#2F8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D1C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D1C#FFFFFF#000000##000000
##2F8D1C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d1c;
/* rgb */ color: rgb(47, 141, 28);
/* oklch */ color: oklch(56.6% 0.170 140.8);
Tailwind
colors: {
  custom: {
    50: '#75af62',
    500: '#2f8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d1c;
$custom-light: #75af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d1c",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 109.912,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.17001,
    "h": 140.8
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#2F8D1C
secondary
#A948BD
accent
#3EEACD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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