#1F663F#1F663F

#1F663F is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.6% C 0.095 H 155.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1F663F
RGBrgb(31, 102, 63)
HSLhsl(147, 53%, 26%)
HSVhsv(147, 70%, 40%)
CMYKcmyk(69.6%, 0%, 38.2%, 60%)
CIE-LABlab(38.11, -31.84, 15.81)
CIE-LCHlch(38.11, 35.54, 153.59°)
OKLaboklab(45.56% -0.0862 0.0397)
OKLCHoklch(45.56% 0.095 155.3)
XYZxyz(6.2131, 10.1523, 6.3338)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F663F #661F46
analogous
#23661F #1F663F #1F6662
triadic
#1F663F #3F1F66 #663F1F
tetradic
#1F663F #1F2366 #661F46 #66621F
square
#1F663F #1F2366 #661F46 #66621F
split-complementary
#1F663F #621F66 #661F23
monochromatic
#07170E #113722 #1F663F #2D955C #3CC479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F663F#FFFFFF#000000##FFFFFF
##1F663F1.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)
#665E3C
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f663f;
/* rgb */ color: rgb(31, 102, 63);
/* oklch */ color: oklch(45.6% 0.095 155.3);
Tailwind
colors: {
  custom: {
    50: '#649274',
    500: '#1f663f',
    950: '#000000',
  },
}
SCSS
$custom: #1f663f;
$custom-light: #649274;
$custom-dark: #000000;
JSON
{
  "hex": "#1f663f",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 63
  },
  "hsl": {
    "h": 147.042,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.09491,
    "h": 155.3
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#1F663F
secondary
#9A4675
accent
#4B9BDD
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F663F

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

Preview Lab → · Contrast checker → · Palette generator →

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