#1F682E#1F682E

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

Color values

HEX#1F682E
RGBrgb(31, 104, 46)
HSLhsl(132, 54%, 26%)
HSVhsv(132, 70%, 41%)
CMYKcmyk(70.2%, 0%, 55.8%, 59.2%)
CIE-LABlab(38.53, -35.87, 26.05)
CIE-LCHlch(38.53, 44.34, 144.01°)
OKLaboklab(45.81% -0.0968 0.0627)
OKLCHoklch(45.81% 0.115 147.1)
XYZxyz(6.0081, 10.3886, 4.2728)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F682E #681F59
analogous
#35681F #1F682E #1F6853
triadic
#1F682E #2E1F68 #682E1F
tetradic
#1F682E #1F3568 #681F59 #68531F
square
#1F682E #1F3568 #681F59 #68531F
split-complementary
#1F682E #531F68 #681F35
monochromatic
#07180A #113919 #1F682E #2D9743 #3CC558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F682E#FFFFFF#000000##FFFFFF
##1F682E1.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)
#695E29
Deuteranopia (green-blind)
#605832
Tritanopia (blue-blind)
#06665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f682e;
/* rgb */ color: rgb(31, 104, 46);
/* oklch */ color: oklch(45.8% 0.115 147.1);
Tailwind
colors: {
  custom: {
    50: '#659468',
    500: '#1f682e',
    950: '#000000',
  },
}
SCSS
$custom: #1f682e;
$custom-light: #659468;
$custom-dark: #000000;
JSON
{
  "hex": "#1f682e",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 46
  },
  "hsl": {
    "h": 132.329,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.1153,
    "h": 147.1
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#1F682E
secondary
#9C468B
accent
#4ABFDD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F682E

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

Preview Lab → · Contrast checker → · Palette generator →

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