#1F643F#1F643F

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

Color values

HEX#1F643F
RGBrgb(31, 100, 63)
HSLhsl(148, 53%, 26%)
HSVhsv(148, 69%, 39%)
CMYKcmyk(69%, 0%, 37%, 60.8%)
CIE-LABlab(37.42, -30.94, 14.87)
CIE-LCHlch(37.42, 34.33, 154.34°)
OKLaboklab(44.98% -0.0839 0.0374)
OKLCHoklch(44.98% 0.092 156)
XYZxyz(6.0189, 9.7639, 6.2691)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F643F #641F44
analogous
#21641F #1F643F #1F6461
triadic
#1F643F #3F1F64 #643F1F
tetradic
#1F643F #1F2164 #641F44 #64611F
square
#1F643F #1F2164 #641F44 #64611F
split-complementary
#1F643F #611F64 #641F21
monochromatic
#07170F #113522 #1F643F #2D935C #3CC17A

Accessibility & contrast

On white

7.11
#1F643F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F643F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F643F#FFFFFF#000000##FFFFFF
##1F643F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3D
Deuteranopia (green-blind)
#5A5541
Tritanopia (blue-blind)
#00635A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f643f;
/* rgb */ color: rgb(31, 100, 63);
/* oklch */ color: oklch(45.0% 0.092 156.0);
Tailwind
colors: {
  custom: {
    50: '#649174',
    500: '#1f643f',
    950: '#000000',
  },
}
SCSS
$custom: #1f643f;
$custom-light: #649174;
$custom-dark: #000000;
JSON
{
  "hex": "#1f643f",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 63
  },
  "hsl": {
    "h": 147.826,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.09188,
    "h": 156
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#1F643F
secondary
#984672
accent
#4C99DC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060D08
muted
#7A7D7B

Preview Lab

Preview with #1F643F

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

Preview Lab → · Contrast checker → · Palette generator →

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