#1F682F#1F682F

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

Color values

HEX#1F682F
RGBrgb(31, 104, 47)
HSLhsl(133, 54%, 26%)
HSVhsv(133, 70%, 41%)
CMYKcmyk(70.2%, 0%, 54.8%, 59.2%)
CIE-LABlab(38.54, -35.71, 25.53)
CIE-LCHlch(38.54, 43.90, 144.44°)
OKLaboklab(45.82% -0.0963 0.0615)
OKLCHoklch(45.82% 0.114 147.4)
XYZxyz(6.0280, 10.3965, 4.3778)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F682F #681F58
analogous
#34681F #1F682F #1F6854
triadic
#1F682F #2F1F68 #682F1F
tetradic
#1F682F #1F3468 #681F58 #68541F
square
#1F682F #1F3468 #681F58 #68541F
split-complementary
#1F682F #541F68 #681F34
monochromatic
#07180B #11391A #1F682F #2D9744 #3CC55A

Accessibility & contrast

On white

6.82
#1F682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F682F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F682F#FFFFFF#000000##FFFFFF
##1F682F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2A
Deuteranopia (green-blind)
#605833
Tritanopia (blue-blind)
#05665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f682f;
/* rgb */ color: rgb(31, 104, 47);
/* oklch */ color: oklch(45.8% 0.114 147.4);
Tailwind
colors: {
  custom: {
    50: '#659469',
    500: '#1f682f',
    950: '#000000',
  },
}
SCSS
$custom: #1f682f;
$custom-light: #659469;
$custom-dark: #000000;
JSON
{
  "hex": "#1f682f",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 133.151,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.11432,
    "h": 147.4
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#1F682F
secondary
#9C468A
accent
#4ABDDD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F682F

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

Preview Lab → · Contrast checker → · Palette generator →

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