#1F673C#1F673C

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

Color values

HEX#1F673C
RGBrgb(31, 103, 60)
HSLhsl(144, 54%, 26%)
HSVhsv(144, 70%, 40%)
CMYKcmyk(69.9%, 0%, 41.7%, 59.6%)
CIE-LABlab(38.41, -32.91, 17.96)
CIE-LCHlch(38.41, 37.49, 151.37°)
OKLaboklab(45.78% -0.0889 0.0447)
OKLCHoklch(45.78% 0.1 153.3)
XYZxyz(6.2304, 10.3174, 5.9372)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F673C #671F4A
analogous
#26671F #1F673C #1F6760
triadic
#1F673C #3C1F67 #673C1F
tetradic
#1F673C #1F2667 #671F4A #67601F
square
#1F673C #1F2667 #671F4A #67601F
split-complementary
#1F673C #601F67 #671F26
monochromatic
#07180E #113821 #1F673C #2D9657 #3CC473

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F673C#FFFFFF#000000##FFFFFF
##1F673C1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f673c;
/* rgb */ color: rgb(31, 103, 60);
/* oklch */ color: oklch(45.8% 0.100 153.3);
Tailwind
colors: {
  custom: {
    50: '#649372',
    500: '#1f673c',
    950: '#000000',
  },
}
SCSS
$custom: #1f673c;
$custom-light: #649372;
$custom-dark: #000000;
JSON
{
  "hex": "#1f673c",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 60
  },
  "hsl": {
    "h": 144.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.09953,
    "h": 153.3
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#1F673C
secondary
#9B4679
accent
#4BA2DD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F673C

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

Preview Lab → · Contrast checker → · Palette generator →

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