#1F671D#1F671D

#1F671D is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.129 H 142.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#1F671D
RGBrgb(31, 103, 29)
HSLhsl(118, 56%, 26%)
HSVhsv(118, 72%, 40%)
CMYKcmyk(69.9%, 0%, 71.8%, 59.6%)
CIE-LABlab(37.99, -37.71, 33.97)
CIE-LCHlch(37.99, 50.76, 137.99°)
OKLaboklab(45.29% -0.1025 0.0781)
OKLCHoklch(45.29% 0.129 142.7)
XYZxyz(5.6368, 10.0799, 2.8107)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F671D #651D67
analogous
#44671D #1F671D #1D6740
triadic
#1F671D #1D1F67 #671D1F
tetradic
#1F671D #1D4467 #651D67 #67401D
square
#1F671D #1D4467 #651D67 #67401D
split-complementary
#1F671D #401D67 #671D44
monochromatic
#071807 #113710 #1F671D #2D972A #3CC738

Accessibility & contrast

On white

6.96
#1F671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F671D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F671D#FFFFFF#000000##FFFFFF
##1F671D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D13
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#0F6458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f671d;
/* rgb */ color: rgb(31, 103, 29);
/* oklch */ color: oklch(45.3% 0.129 142.7);
Tailwind
colors: {
  custom: {
    50: '#66935d',
    500: '#1f671d',
    950: '#000000',
  },
}
SCSS
$custom: #1f671d;
$custom-light: #66935d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f671d",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 118.378,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.12885,
    "h": 142.7
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#1F671D
secondary
#99449C
accent
#48DFDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F671D

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

Preview Lab → · Contrast checker → · Palette generator →

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