#2F951C#2F951C

#2F951C is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.179 H 141.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F951C
RGBrgb(47, 149, 28)
HSLhsl(111, 68%, 35%)
HSVhsv(111, 81%, 58%)
CMYKcmyk(68.5%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.22, -50.94, 50.71)
CIE-LCHlch(54.22, 71.88, 135.13°)
OKLaboklab(58.86% -0.1393 0.1128)
OKLCHoklch(58.86% 0.179 141)
XYZxyz(12.1287, 22.1818, 4.7407)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F951C #821C95
analogous
#6B951C #2F951C #1C9546
triadic
#2F951C #1C2F95 #951C2F
tetradic
#2F951C #1C6B95 #821C95 #95461C
square
#2F951C #1C6B95 #821C95 #95461C
split-complementary
#2F951C #461C95 #951C6B
monochromatic
#0E2E09 #1F6112 #2F951C #3FC926 #64DE4E

Accessibility & contrast

On white

3.86
#2F951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F951C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F951C#FFFFFF#000000##000000
##2F951C1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#1A907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f951c;
/* rgb */ color: rgb(47, 149, 28);
/* oklch */ color: oklch(58.9% 0.179 141.0);
Tailwind
colors: {
  custom: {
    50: '#77b563',
    500: '#2f951c',
    950: '#000000',
  },
}
SCSS
$custom: #2f951c;
$custom-light: #77b563;
$custom-dark: #000000;
JSON
{
  "hex": "#2f951c",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 110.579,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.17921,
    "h": 141
  },
  "luminance": 0.22183
}

Semantic roles & 50–950 ramp

primary
#2F951C
secondary
#AE4DC0
accent
#3DEBD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F951C

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

Preview Lab → · Contrast checker → · Palette generator →

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