#1F673F#1F673F

#1F673F is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.096 H 155.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#1F673F
RGBrgb(31, 103, 63)
HSLhsl(147, 54%, 26%)
HSVhsv(147, 70%, 40%)
CMYKcmyk(69.9%, 0%, 38.8%, 59.6%)
CIE-LABlab(38.46, -32.28, 16.27)
CIE-LCHlch(38.46, 36.15, 153.24°)
OKLaboklab(45.84% -0.0874 0.0408)
OKLCHoklch(45.84% 0.096 155)
XYZxyz(6.3120, 10.3500, 6.3668)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F673F #671F47
analogous
#23671F #1F673F #1F6763
triadic
#1F673F #3F1F67 #673F1F
tetradic
#1F673F #1F2367 #671F47 #67631F
square
#1F673F #1F2367 #671F47 #67631F
split-complementary
#1F673F #631F67 #671F23
monochromatic
#07180E #113822 #1F673F #2D965C #3CC479

Accessibility & contrast

On white

6.84
#1F673F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F673F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F673F#FFFFFF#000000##FFFFFF
##1F673F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E3C
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f673f;
/* rgb */ color: rgb(31, 103, 63);
/* oklch */ color: oklch(45.8% 0.096 155.0);
Tailwind
colors: {
  custom: {
    50: '#649374',
    500: '#1f673f',
    950: '#000000',
  },
}
SCSS
$custom: #1f673f;
$custom-light: #649374;
$custom-dark: #000000;
JSON
{
  "hex": "#1f673f",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 63
  },
  "hsl": {
    "h": 146.667,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.09643,
    "h": 155
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#1F673F
secondary
#9B4676
accent
#4B9CDD
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F673F

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

Preview Lab → · Contrast checker → · Palette generator →

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