#1F673D#1F673D

#1F673D is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.098 H 153.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1F673D
RGBrgb(31, 103, 61)
HSLhsl(145, 54%, 26%)
HSVhsv(145, 70%, 40%)
CMYKcmyk(69.9%, 0%, 40.8%, 59.6%)
CIE-LABlab(38.42, -32.70, 17.40)
CIE-LCHlch(38.42, 37.04, 151.98°)
OKLaboklab(45.8% -0.0884 0.0434)
OKLCHoklch(45.8% 0.098 153.8)
XYZxyz(6.2571, 10.3281, 6.0777)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F673D #671F49
analogous
#25671F #1F673D #1F6761
triadic
#1F673D #3D1F67 #673D1F
tetradic
#1F673D #1F2567 #671F49 #67611F
square
#1F673D #1F2567 #671F49 #67611F
split-complementary
#1F673D #611F67 #671F25
monochromatic
#07180E #113821 #1F673D #2D9659 #3CC475

Accessibility & contrast

On white

6.85
#1F673D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1F673D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F673D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F673D#FFFFFF#000000##FFFFFF
##1F673D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E3A
Deuteranopia (green-blind)
#5E5840
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f673d;
/* rgb */ color: rgb(31, 103, 61);
/* oklch */ color: oklch(45.8% 0.098 153.8);
Tailwind
colors: {
  custom: {
    50: '#649373',
    500: '#1f673d',
    950: '#000000',
  },
}
SCSS
$custom: #1f673d;
$custom-light: #649373;
$custom-dark: #000000;
JSON
{
  "hex": "#1f673d",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 61
  },
  "hsl": {
    "h": 145,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.09849,
    "h": 153.8
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#1F673D
secondary
#9B4678
accent
#4BA0DD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F673D

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

Preview Lab → · Contrast checker → · Palette generator →

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