#2F8419#2F8419

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

Color values

HEX#2F8419
RGBrgb(47, 132, 25)
HSLhsl(108, 68%, 31%)
HSVhsv(108, 81%, 52%)
CMYKcmyk(64.4%, 0%, 81.1%, 48.2%)
CIE-LABlab(48.48, -45.09, 46.23)
CIE-LCHlch(48.48, 64.58, 134.29°)
OKLaboklab(54.1% -0.1237 0.103)
OKLCHoklch(54.1% 0.161 140.2)
XYZxyz(9.5986, 17.1761, 3.7290)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8419 #6E1984
analogous
#648419 #2F8419 #198439
triadic
#2F8419 #192F84 #84192F
tetradic
#2F8419 #196484 #6E1984 #843919
square
#2F8419 #196484 #6E1984 #843919
split-complementary
#2F8419 #391984 #841964
monochromatic
#0A1D06 #1D510F #2F8419 #41B723 #5DDA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8419#FFFFFF#000000##FFFFFF
##2F84191.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)
#887700
Deuteranopia (green-blind)
#7D7126
Tritanopia (blue-blind)
#227F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8419;
/* rgb */ color: rgb(47, 132, 25);
/* oklch */ color: oklch(54.1% 0.161 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a95f',
    500: '#2f8419',
    950: '#000000',
  },
}
SCSS
$custom: #2f8419;
$custom-light: #73a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8419",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 107.664,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.16094,
    "h": 140.2
  },
  "luminance": 0.17177
}

Semantic roles & 50–950 ramp

primary
#2F8419
secondary
#9F41B8
accent
#3DEBC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8419

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

Preview Lab → · Contrast checker → · Palette generator →

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