#1F643D#1F643D

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

Color values

HEX#1F643D
RGBrgb(31, 100, 61)
HSLhsl(146, 53%, 26%)
HSVhsv(146, 69%, 39%)
CMYKcmyk(69%, 0%, 39%, 60.8%)
CIE-LABlab(37.38, -31.38, 16.00)
CIE-LCHlch(37.38, 35.22, 152.98°)
OKLaboklab(44.93% -0.085 0.0401)
OKLCHoklch(44.93% 0.094 154.7)
XYZxyz(5.9640, 9.7419, 5.9800)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F643D #641F46
analogous
#23641F #1F643D #1F645F
triadic
#1F643D #3D1F64 #643D1F
tetradic
#1F643D #1F2364 #641F46 #645F1F
square
#1F643D #1F2364 #641F46 #645F1F
split-complementary
#1F643D #5F1F64 #641F23
monochromatic
#07170E #113521 #1F643D #2D9359 #3CC176

Accessibility & contrast

On white

7.12
#1F643D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F643D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F643D#FFFFFF#000000##FFFFFF
##1F643D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f643d;
/* rgb */ color: rgb(31, 100, 61);
/* oklch */ color: oklch(44.9% 0.094 154.7);
Tailwind
colors: {
  custom: {
    50: '#649173',
    500: '#1f643d',
    950: '#000000',
  },
}
SCSS
$custom: #1f643d;
$custom-light: #649173;
$custom-dark: #000000;
JSON
{
  "hex": "#1f643d",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 61
  },
  "hsl": {
    "h": 146.087,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44934,
    "c": 0.09394,
    "h": 154.7
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#1F643D
secondary
#984675
accent
#4C9DDC
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060D08
muted
#7A7D7B

Preview Lab

Preview with #1F643D

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

Preview Lab → · Contrast checker → · Palette generator →

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