#1F663B#1F663B

#1F663B is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.5% C 0.099 H 153.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1F663B
RGBrgb(31, 102, 59)
HSLhsl(144, 53%, 26%)
HSVhsv(144, 70%, 40%)
CMYKcmyk(69.6%, 0%, 42.2%, 60%)
CIE-LABlab(38.04, -32.68, 18.06)
CIE-LCHlch(38.04, 37.34, 151.07°)
OKLaboklab(45.47% -0.0883 0.0449)
OKLCHoklch(45.47% 0.099 153)
XYZxyz(6.1053, 10.1092, 5.7663)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F663B #661F4A
analogous
#26661F #1F663B #1F665E
triadic
#1F663B #3B1F66 #663B1F
tetradic
#1F663B #1F2666 #661F4A #665E1F
square
#1F663B #1F2666 #661F4A #665E1F
split-complementary
#1F663B #5E1F66 #661F26
monochromatic
#07170E #113720 #1F663B #2D9556 #3CC471

Accessibility & contrast

On white

6.95
#1F663B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F663B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F663B
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F663B#FFFFFF#000000##FFFFFF
##1F663B1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D38
Deuteranopia (green-blind)
#5D573E
Tritanopia (blue-blind)
#00655B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f663b;
/* rgb */ color: rgb(31, 102, 59);
/* oklch */ color: oklch(45.5% 0.099 153.0);
Tailwind
colors: {
  custom: {
    50: '#649271',
    500: '#1f663b',
    950: '#000000',
  },
}
SCSS
$custom: #1f663b;
$custom-light: #649271;
$custom-dark: #000000;
JSON
{
  "hex": "#1f663b",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 59
  },
  "hsl": {
    "h": 143.662,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.09906,
    "h": 153
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#1F663B
secondary
#9A4679
accent
#4BA3DD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1F663B

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

Preview Lab → · Contrast checker → · Palette generator →

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