#1F673B#1F673B

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

Color values

HEX#1F673B
RGBrgb(31, 103, 59)
HSLhsl(143, 54%, 26%)
HSVhsv(143, 70%, 40%)
CMYKcmyk(69.9%, 0%, 42.7%, 59.6%)
CIE-LABlab(38.39, -33.11, 18.52)
CIE-LCHlch(38.39, 37.94, 150.78°)
OKLaboklab(45.75% -0.0894 0.046)
OKLCHoklch(45.75% 0.101 152.8)
XYZxyz(6.2042, 10.3069, 5.7993)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F673B #671F4B
analogous
#27671F #1F673B #1F675F
triadic
#1F673B #3B1F67 #673B1F
tetradic
#1F673B #1F2767 #671F4B #675F1F
square
#1F673B #1F2767 #671F4B #675F1F
split-complementary
#1F673B #5F1F67 #671F27
monochromatic
#07180D #113820 #1F673B #2D9656 #3CC471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F673B#FFFFFF#000000##FFFFFF
##1F673B1.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)
#675E38
Deuteranopia (green-blind)
#5E583E
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f673b;
/* rgb */ color: rgb(31, 103, 59);
/* oklch */ color: oklch(45.8% 0.101 152.8);
Tailwind
colors: {
  custom: {
    50: '#649371',
    500: '#1f673b',
    950: '#000000',
  },
}
SCSS
$custom: #1f673b;
$custom-light: #649371;
$custom-dark: #000000;
JSON
{
  "hex": "#1f673b",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 59
  },
  "hsl": {
    "h": 143.333,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.10057,
    "h": 152.8
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#1F673B
secondary
#9B467A
accent
#4BA4DD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1F673B

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

Preview Lab → · Contrast checker → · Palette generator →

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