#1F673A#1F673A

#1F673A is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.102 H 152.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#1F673A
RGBrgb(31, 103, 58)
HSLhsl(143, 54%, 26%)
HSVhsv(143, 70%, 40%)
CMYKcmyk(69.9%, 0%, 43.7%, 59.6%)
CIE-LABlab(38.37, -33.31, 19.08)
CIE-LCHlch(38.37, 38.39, 150.19°)
OKLaboklab(45.73% -0.0899 0.0473)
OKLCHoklch(45.73% 0.102 152.2)
XYZxyz(6.1785, 10.2966, 5.6640)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F673A #671F4C
analogous
#28671F #1F673A #1F675E
triadic
#1F673A #3A1F67 #673A1F
tetradic
#1F673A #1F2867 #671F4C #675E1F
square
#1F673A #1F2867 #671F4C #675E1F
split-complementary
#1F673A #5E1F67 #671F28
monochromatic
#07180D #113820 #1F673A #2D9654 #3CC46F

Accessibility & contrast

On white

6.86
#1F673A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1F673A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F673A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F673A#FFFFFF#000000##FFFFFF
##1F673A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E37
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f673a;
/* rgb */ color: rgb(31, 103, 58);
/* oklch */ color: oklch(45.7% 0.102 152.2);
Tailwind
colors: {
  custom: {
    50: '#649370',
    500: '#1f673a',
    950: '#000000',
  },
}
SCSS
$custom: #1f673a;
$custom-light: #649370;
$custom-dark: #000000;
JSON
{
  "hex": "#1f673a",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 58
  },
  "hsl": {
    "h": 142.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.10161,
    "h": 152.2
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#1F673A
secondary
#9B467C
accent
#4BA6DD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1F673A

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

Preview Lab → · Contrast checker → · Palette generator →

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