#1F663A#1F663A

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

Color values

HEX#1F663A
RGBrgb(31, 102, 58)
HSLhsl(143, 53%, 26%)
HSVhsv(143, 70%, 40%)
CMYKcmyk(69.6%, 0%, 43.1%, 60%)
CIE-LABlab(38.02, -32.88, 18.62)
CIE-LCHlch(38.02, 37.79, 150.47°)
OKLaboklab(45.45% -0.0888 0.0462)
OKLCHoklch(45.45% 0.1 152.5)
XYZxyz(6.0797, 10.0989, 5.6310)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F663A #661F4B
analogous
#27661F #1F663A #1F665D
triadic
#1F663A #3A1F66 #663A1F
tetradic
#1F663A #1F2766 #661F4B #665D1F
square
#1F663A #1F2766 #661F4B #665D1F
split-complementary
#1F663A #5D1F66 #661F27
monochromatic
#07170D #11371F #1F663A #2D9555 #3CC46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F663A#FFFFFF#000000##FFFFFF
##1F663A1.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)
#665D37
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#00655B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f663a;
/* rgb */ color: rgb(31, 102, 58);
/* oklch */ color: oklch(45.4% 0.100 152.5);
Tailwind
colors: {
  custom: {
    50: '#649270',
    500: '#1f663a',
    950: '#000000',
  },
}
SCSS
$custom: #1f663a;
$custom-light: #649270;
$custom-dark: #000000;
JSON
{
  "hex": "#1f663a",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 58
  },
  "hsl": {
    "h": 142.817,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.10011,
    "h": 152.5
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#1F663A
secondary
#9A467A
accent
#4BA5DD
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1F663A

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

Preview Lab → · Contrast checker → · Palette generator →

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