#1F663E#1F663E

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

Color values

HEX#1F663E
RGBrgb(31, 102, 62)
HSLhsl(146, 53%, 26%)
HSVhsv(146, 70%, 40%)
CMYKcmyk(69.6%, 0%, 39.2%, 60%)
CIE-LABlab(38.09, -32.05, 16.37)
CIE-LCHlch(38.09, 35.99, 152.94°)
OKLaboklab(45.53% -0.0867 0.041)
OKLCHoklch(45.53% 0.096 154.7)
XYZxyz(6.1854, 10.1412, 6.1880)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F663E #661F47
analogous
#23661F #1F663E #1F6661
triadic
#1F663E #3E1F66 #663E1F
tetradic
#1F663E #1F2366 #661F47 #66611F
square
#1F663E #1F2366 #661F47 #66611F
split-complementary
#1F663E #611F66 #661F23
monochromatic
#07170E #113721 #1F663E #2D955B #3CC477

Accessibility & contrast

On white

6.93
#1F663E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1F663E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F663E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F663E#FFFFFF#000000##FFFFFF
##1F663E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3B
Deuteranopia (green-blind)
#5D5741
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f663e;
/* rgb */ color: rgb(31, 102, 62);
/* oklch */ color: oklch(45.5% 0.096 154.7);
Tailwind
colors: {
  custom: {
    50: '#649273',
    500: '#1f663e',
    950: '#000000',
  },
}
SCSS
$custom: #1f663e;
$custom-light: #649273;
$custom-dark: #000000;
JSON
{
  "hex": "#1f663e",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 62
  },
  "hsl": {
    "h": 146.197,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.09595,
    "h": 154.7
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#1F663E
secondary
#9A4676
accent
#4B9DDD
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F663E

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

Preview Lab → · Contrast checker → · Palette generator →

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