#1F682D#1F682D

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

Color values

HEX#1F682D
RGBrgb(31, 104, 45)
HSLhsl(132, 54%, 26%)
HSVhsv(132, 70%, 41%)
CMYKcmyk(70.2%, 0%, 56.7%, 59.2%)
CIE-LABlab(38.52, -36.03, 26.58)
CIE-LCHlch(38.52, 44.77, 143.58°)
OKLaboklab(45.79% -0.0972 0.0638)
OKLCHoklch(45.79% 0.116 146.8)
XYZxyz(5.9886, 10.3808, 4.1702)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F682D #681F5A
analogous
#36681F #1F682D #1F6852
triadic
#1F682D #2D1F68 #682D1F
tetradic
#1F682D #1F3668 #681F5A #68521F
square
#1F682D #1F3668 #681F5A #68521F
split-complementary
#1F682D #521F68 #681F36
monochromatic
#07180A #113919 #1F682D #2D9741 #3CC557

Accessibility & contrast

On white

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

On black

3.08
#1F682D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F682D#FFFFFF#000000##FFFFFF
##1F682D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E28
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#06665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f682d;
/* rgb */ color: rgb(31, 104, 45);
/* oklch */ color: oklch(45.8% 0.116 146.8);
Tailwind
colors: {
  custom: {
    50: '#659467',
    500: '#1f682d',
    950: '#000000',
  },
}
SCSS
$custom: #1f682d;
$custom-light: #659467;
$custom-dark: #000000;
JSON
{
  "hex": "#1f682d",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 45
  },
  "hsl": {
    "h": 131.507,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.11627,
    "h": 146.8
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#1F682D
secondary
#9C468C
accent
#4AC1DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F682D

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

Preview Lab → · Contrast checker → · Palette generator →

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