#1F643E#1F643E

#1F643E is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.093 H 155.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#1F643E
RGBrgb(31, 100, 62)
HSLhsl(147, 53%, 26%)
HSVhsv(147, 69%, 39%)
CMYKcmyk(69%, 0%, 38%, 60.8%)
CIE-LABlab(37.40, -31.16, 15.44)
CIE-LCHlch(37.40, 34.78, 153.65°)
OKLaboklab(44.96% -0.0844 0.0388)
OKLCHoklch(44.96% 0.093 155.3)
XYZxyz(5.9912, 9.7528, 6.1232)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F643E #641F45
analogous
#22641F #1F643E #1F6460
triadic
#1F643E #3E1F64 #643E1F
tetradic
#1F643E #1F2264 #641F45 #64601F
square
#1F643E #1F2264 #641F45 #64601F
split-complementary
#1F643E #601F64 #641F22
monochromatic
#07170E #113521 #1F643E #2D935B #3CC178

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F643E#FFFFFF#000000##FFFFFF
##1F643E1.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)
#645C3C
Deuteranopia (green-blind)
#5B5540
Tritanopia (blue-blind)
#00635A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f643e;
/* rgb */ color: rgb(31, 100, 62);
/* oklch */ color: oklch(45.0% 0.093 155.3);
Tailwind
colors: {
  custom: {
    50: '#649173',
    500: '#1f643e',
    950: '#000000',
  },
}
SCSS
$custom: #1f643e;
$custom-light: #649173;
$custom-dark: #000000;
JSON
{
  "hex": "#1f643e",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 62
  },
  "hsl": {
    "h": 146.957,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.09291,
    "h": 155.3
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#1F643E
secondary
#984674
accent
#4C9BDC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060D08
muted
#7A7D7B

Preview Lab

Preview with #1F643E

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

Preview Lab → · Contrast checker → · Palette generator →

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