#1F671E#1F671E

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

Color values

HEX#1F671E
RGBrgb(31, 103, 30)
HSLhsl(119, 55%, 26%)
HSVhsv(119, 71%, 40%)
CMYKcmyk(69.9%, 0%, 70.9%, 59.6%)
CIE-LABlab(37.99, -37.61, 33.53)
CIE-LCHlch(37.99, 50.38, 138.28°)
OKLaboklab(45.3% -0.1022 0.0772)
OKLCHoklch(45.3% 0.128 142.9)
XYZxyz(5.6493, 10.0850, 2.8769)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F671E #661E67
analogous
#43671E #1F671E #1E6741
triadic
#1F671E #1E1F67 #671E1F
tetradic
#1F671E #1E4367 #661E67 #67411E
square
#1F671E #1E4367 #661E67 #67411E
split-complementary
#1F671E #411E67 #671E43
monochromatic
#071807 #113810 #1F671E #2D962C #3CC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1f671e;
/* rgb */ color: rgb(31, 103, 30);
/* oklch */ color: oklch(45.3% 0.128 142.9);
Tailwind
colors: {
  custom: {
    50: '#66935e',
    500: '#1f671e',
    950: '#000000',
  },
}
SCSS
$custom: #1f671e;
$custom-light: #66935e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f671e",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 119.178,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.12808,
    "h": 142.9
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#1F671E
secondary
#9A459C
accent
#4ADEDC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F671E

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

Preview Lab → · Contrast checker → · Palette generator →

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