#2F841C#2F841C

#2F841C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.159 H 140.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F841C
RGBrgb(47, 132, 28)
HSLhsl(109, 65%, 31%)
HSVhsv(109, 79%, 52%)
CMYKcmyk(64.4%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.50, -44.89, 45.23)
CIE-LCHlch(48.50, 63.73, 134.79°)
OKLaboklab(54.12% -0.123 0.1013)
OKLCHoklch(54.12% 0.159 140.5)
XYZxyz(9.6327, 17.1898, 3.9087)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F841C #711C84
analogous
#63841C #2F841C #1C843D
triadic
#2F841C #1C2F84 #841C2F
tetradic
#2F841C #1C6384 #711C84 #843D1C
square
#2F841C #1C6384 #711C84 #843D1C
split-complementary
#2F841C #3D1C84 #841C63
monochromatic
#0B1F07 #1D5211 #2F841C #41B627 #5ED743

Accessibility & contrast

On white

4.73
#2F841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F841C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F841C#FFFFFF#000000##FFFFFF
##2F841C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#7D7128
Tritanopia (blue-blind)
#228070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f841c;
/* rgb */ color: rgb(47, 132, 28);
/* oklch */ color: oklch(54.1% 0.159 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a961',
    500: '#2f841c',
    950: '#000000',
  },
}
SCSS
$custom: #2f841c;
$custom-light: #73a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2f841c",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 109.038,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.15935,
    "h": 140.5
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

primary
#2F841C
secondary
#A245B7
accent
#40E8C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F841C

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

Preview Lab → · Contrast checker → · Palette generator →

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