#1F682C#1F682C

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

Color values

HEX#1F682C
RGBrgb(31, 104, 44)
HSLhsl(131, 54%, 26%)
HSVhsv(131, 70%, 41%)
CMYKcmyk(70.2%, 0%, 57.7%, 59.2%)
CIE-LABlab(38.50, -36.18, 27.10)
CIE-LCHlch(38.50, 45.21, 143.17°)
OKLaboklab(45.77% -0.0977 0.0648)
OKLCHoklch(45.77% 0.117 146.4)
XYZxyz(5.9696, 10.3732, 4.0700)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F682C #681F5B
analogous
#37681F #1F682C #1F6851
triadic
#1F682C #2C1F68 #682C1F
tetradic
#1F682C #1F3768 #681F5B #68511F
square
#1F682C #1F3768 #681F5B #68511F
split-complementary
#1F682C #511F68 #681F37
monochromatic
#07180A #113918 #1F682C #2D9740 #3CC555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F682C#FFFFFF#000000##FFFFFF
##1F682C1.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)
#695E26
Deuteranopia (green-blind)
#615831
Tritanopia (blue-blind)
#07655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f682c;
/* rgb */ color: rgb(31, 104, 44);
/* oklch */ color: oklch(45.8% 0.117 146.4);
Tailwind
colors: {
  custom: {
    50: '#659467',
    500: '#1f682c',
    950: '#000000',
  },
}
SCSS
$custom: #1f682c;
$custom-light: #659467;
$custom-dark: #000000;
JSON
{
  "hex": "#1f682c",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 44
  },
  "hsl": {
    "h": 130.685,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.11723,
    "h": 146.4
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#1F682C
secondary
#9C468D
accent
#4AC3DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F682C

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

Preview Lab → · Contrast checker → · Palette generator →

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