#1F673E#1F673E

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

Color values

HEX#1F673E
RGBrgb(31, 103, 62)
HSLhsl(146, 54%, 26%)
HSVhsv(146, 70%, 40%)
CMYKcmyk(69.9%, 0%, 39.8%, 59.6%)
CIE-LABlab(38.44, -32.49, 16.84)
CIE-LCHlch(38.44, 36.59, 152.60°)
OKLaboklab(45.82% -0.0879 0.0421)
OKLCHoklch(45.82% 0.097 154.4)
XYZxyz(6.2843, 10.3389, 6.2209)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F673E #671F48
analogous
#24671F #1F673E #1F6762
triadic
#1F673E #3E1F67 #673E1F
tetradic
#1F673E #1F2467 #671F48 #67621F
square
#1F673E #1F2467 #671F48 #67621F
split-complementary
#1F673E #621F67 #671F24
monochromatic
#07180E #113822 #1F673E #2D965A #3CC477

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F673E#FFFFFF#000000##FFFFFF
##1F673E1.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)
#675E3B
Deuteranopia (green-blind)
#5E5841
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f673e;
/* rgb */ color: rgb(31, 103, 62);
/* oklch */ color: oklch(45.8% 0.097 154.4);
Tailwind
colors: {
  custom: {
    50: '#649373',
    500: '#1f673e',
    950: '#000000',
  },
}
SCSS
$custom: #1f673e;
$custom-light: #649373;
$custom-dark: #000000;
JSON
{
  "hex": "#1f673e",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 62
  },
  "hsl": {
    "h": 145.833,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.09746,
    "h": 154.4
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#1F673E
secondary
#9B4677
accent
#4B9EDD
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F673E

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

Preview Lab → · Contrast checker → · Palette generator →

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