#1F841F#1F841F

#1F841F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.163 H 142.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F841F
RGBrgb(31, 132, 31)
HSLhsl(120, 62%, 32%)
HSVhsv(120, 77%, 52%)
CMYKcmyk(76.5%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.12, -47.97, 43.64)
CIE-LCHlch(48.12, 64.85, 137.70°)
OKLaboklab(53.71% -0.1302 0.0986)
OKLCHoklch(53.71% 0.163 142.9)
XYZxyz(9.0631, 16.8917, 4.0788)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F841F #841F84
analogous
#52841F #1F841F #1F8452
triadic
#1F841F #1F1F84 #841F1F
tetradic
#1F841F #1F5284 #841F84 #84521F
square
#1F841F #1F5284 #841F84 #84521F
split-complementary
#1F841F #521F84 #841F52
monochromatic
#082108 #135213 #1F841F #2BB62B #49D449

Accessibility & contrast

On white

4.80
#1F841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F841F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F841F#FFFFFF#000000##FFFFFF
##1F841F1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f841f;
/* rgb */ color: rgb(31, 132, 31);
/* oklch */ color: oklch(53.7% 0.163 142.9);
Tailwind
colors: {
  custom: {
    50: '#6da962',
    500: '#1f841f',
    950: '#000000',
  },
}
SCSS
$custom: #1f841f;
$custom-light: #6da962;
$custom-dark: #000000;
JSON
{
  "hex": "#1f841f",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.1633,
    "h": 142.9
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#1F841F
secondary
#B748B7
accent
#43E5E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F841F

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

Preview Lab → · Contrast checker → · Palette generator →

#1F841F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva