#1F841D#1F841D

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

Color values

HEX#1F841D
RGBrgb(31, 132, 29)
HSLhsl(119, 64%, 32%)
HSVhsv(119, 78%, 52%)
CMYKcmyk(76.5%, 0%, 78%, 48.2%)
CIE-LABlab(48.11, -48.12, 44.36)
CIE-LCHlch(48.11, 65.45, 137.33°)
OKLaboklab(53.69% -0.1307 0.0998)
OKLCHoklch(53.69% 0.164 142.6)
XYZxyz(9.0376, 16.8815, 3.9443)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F841D #821D84
analogous
#53841D #1F841D #1D844F
triadic
#1F841D #1D1F84 #841D1F
tetradic
#1F841D #1D5384 #821D84 #844F1D
square
#1F841D #1D5384 #821D84 #844F1D
split-complementary
#1F841D #4F1D84 #841D53
monochromatic
#072007 #135212 #1F841D #2BB628 #48D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F841D#FFFFFF#000000##FFFFFF
##1F841D1.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)
#877706
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f841d;
/* rgb */ color: rgb(31, 132, 29);
/* oklch */ color: oklch(53.7% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da961',
    500: '#1f841d',
    950: '#000000',
  },
}
SCSS
$custom: #1f841d;
$custom-light: #6da961;
$custom-dark: #000000;
JSON
{
  "hex": "#1f841d",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 118.835,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.16446,
    "h": 142.6
  },
  "luminance": 0.16883
}

Semantic roles & 50–950 ramp

primary
#1F841D
secondary
#B546B7
accent
#41E7E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F841D

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

Preview Lab → · Contrast checker → · Palette generator →

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