#1F671F#1F671F

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

Color values

HEX#1F671F
RGBrgb(31, 103, 31)
HSLhsl(120, 54%, 26%)
HSVhsv(120, 70%, 40%)
CMYKcmyk(69.9%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.00, -37.50, 33.07)
CIE-LCHlch(38.00, 50.00, 138.59°)
OKLaboklab(45.31% -0.1018 0.0764)
OKLCHoklch(45.31% 0.127 143.1)
XYZxyz(5.6623, 10.0901, 2.9452)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F671F #671F67
analogous
#43671F #1F671F #1F6743
triadic
#1F671F #1F1F67 #671F1F
tetradic
#1F671F #1F4367 #671F67 #67431F
square
#1F671F #1F4367 #671F67 #67431F
split-complementary
#1F671F #431F67 #671F43
monochromatic
#071807 #113811 #1F671F #2D962D #3CC43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F671F#FFFFFF#000000##FFFFFF
##1F671F1.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)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#0E6458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f671f;
/* rgb */ color: rgb(31, 103, 31);
/* oklch */ color: oklch(45.3% 0.127 143.1);
Tailwind
colors: {
  custom: {
    50: '#66935e',
    500: '#1f671f',
    950: '#000000',
  },
}
SCSS
$custom: #1f671f;
$custom-light: #66935e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f671f",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.1273,
    "h": 143.1
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#1F671F
secondary
#9B469B
accent
#4BDDDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #1F671F

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

Preview Lab → · Contrast checker → · Palette generator →

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