#2F8C1F#2F8C1F

#2F8C1F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.167 H 141.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8C1F
RGBrgb(47, 140, 31)
HSLhsl(111, 64%, 34%)
HSVhsv(111, 78%, 55%)
CMYKcmyk(66.4%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.22, -47.58, 46.83)
CIE-LCHlch(51.22, 66.77, 135.45°)
OKLaboklab(56.38% -0.1301 0.1051)
OKLCHoklch(56.38% 0.167 141.1)
XYZxyz(10.7971, 19.4584, 4.4829)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C1F #7C1F8C
analogous
#658C1F #2F8C1F #1F8C45
triadic
#2F8C1F #1F2F8C #8C1F2F
tetradic
#2F8C1F #1F658C #7C1F8C #8C451F
square
#2F8C1F #1F658C #7C1F8C #8C451F
split-complementary
#2F8C1F #451F8C #8C1F65
monochromatic
#0D2809 #1E5A14 #2F8C1F #40BE2A #62D84E

Accessibility & contrast

On white

4.29
#2F8C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F8C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C1F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C1F#FFFFFF#000000##000000
##2F8C1F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c1f;
/* rgb */ color: rgb(47, 140, 31);
/* oklch */ color: oklch(56.4% 0.167 141.1);
Tailwind
colors: {
  custom: {
    50: '#75ae63',
    500: '#2f8c1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c1f;
$custom-light: #75ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c1f",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 111.193,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.16724,
    "h": 141.1
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#2F8C1F
secondary
#AA4CBB
accent
#41E7CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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