#1F6741#1F6741

#1F6741 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.094 H 156.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#1F6741
RGBrgb(31, 103, 65)
HSLhsl(148, 54%, 26%)
HSVhsv(148, 70%, 40%)
CMYKcmyk(69.9%, 0%, 36.9%, 59.6%)
CIE-LABlab(38.50, -31.84, 15.14)
CIE-LCHlch(38.50, 35.26, 154.56°)
OKLaboklab(45.89% -0.0863 0.0381)
OKLCHoklch(45.89% 0.094 156.2)
XYZxyz(6.3689, 10.3728, 6.6665)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6741 #671F45
analogous
#21671F #1F6741 #1F6765
triadic
#1F6741 #411F67 #67411F
tetradic
#1F6741 #1F2167 #671F45 #67651F
square
#1F6741 #1F2167 #671F45 #67651F
split-complementary
#1F6741 #651F67 #671F21
monochromatic
#07180F #113823 #1F6741 #2D965F #3CC47C

Accessibility & contrast

On white

6.83
#1F6741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1F6741 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6741
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6741#FFFFFF#000000##FFFFFF
##1F67411.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665F3F
Deuteranopia (green-blind)
#5D5843
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6741;
/* rgb */ color: rgb(31, 103, 65);
/* oklch */ color: oklch(45.9% 0.094 156.2);
Tailwind
colors: {
  custom: {
    50: '#649376',
    500: '#1f6741',
    950: '#000000',
  },
}
SCSS
$custom: #1f6741;
$custom-light: #649376;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6741",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 65
  },
  "hsl": {
    "h": 148.333,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.09437,
    "h": 156.2
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#1F6741
secondary
#9B4673
accent
#4B98DD
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1F6741

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

Preview Lab → · Contrast checker → · Palette generator →

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