#1F643C#1F643C

#1F643C is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.095 H 154.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#1F643C
RGBrgb(31, 100, 60)
HSLhsl(145, 53%, 26%)
HSVhsv(145, 69%, 39%)
CMYKcmyk(69%, 0%, 40%, 60.8%)
CIE-LABlab(37.36, -31.59, 16.57)
CIE-LCHlch(37.36, 35.67, 152.32°)
OKLaboklab(44.91% -0.0855 0.0414)
OKLCHoklch(44.91% 0.095 154.1)
XYZxyz(5.9373, 9.7313, 5.8395)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F643C #641F47
analogous
#24641F #1F643C #1F645E
triadic
#1F643C #3C1F64 #643C1F
tetradic
#1F643C #1F2464 #641F47 #645E1F
square
#1F643C #1F2464 #641F47 #645E1F
split-complementary
#1F643C #5E1F64 #641F24
monochromatic
#07170E #113520 #1F643C #2D9358 #3CC174

Accessibility & contrast

On white

7.13
#1F643C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F643C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F643C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F643C#FFFFFF#000000##FFFFFF
##1F643C1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C39
Deuteranopia (green-blind)
#5B553F
Tritanopia (blue-blind)
#00635A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f643c;
/* rgb */ color: rgb(31, 100, 60);
/* oklch */ color: oklch(44.9% 0.095 154.1);
Tailwind
colors: {
  custom: {
    50: '#649172',
    500: '#1f643c',
    950: '#000000',
  },
}
SCSS
$custom: #1f643c;
$custom-light: #649172;
$custom-dark: #000000;
JSON
{
  "hex": "#1f643c",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 60
  },
  "hsl": {
    "h": 145.217,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.09498,
    "h": 154.1
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#1F643C
secondary
#984676
accent
#4C9FDC
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060D08
muted
#7A7D7B

Preview Lab

Preview with #1F643C

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

Preview Lab → · Contrast checker → · Palette generator →

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