#1F672D#1F672D

#1F672D is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.115 H 146.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1F672D
RGBrgb(31, 103, 45)
HSLhsl(132, 54%, 26%)
HSVhsv(132, 70%, 40%)
CMYKcmyk(69.9%, 0%, 56.3%, 59.6%)
CIE-LABlab(38.16, -35.62, 26.15)
CIE-LCHlch(38.16, 44.19, 143.72°)
OKLaboklab(45.5% -0.0961 0.0628)
OKLCHoklch(45.5% 0.115 146.8)
XYZxyz(5.8886, 10.1806, 4.1368)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F672D #671F59
analogous
#35671F #1F672D #1F6751
triadic
#1F672D #2D1F67 #672D1F
tetradic
#1F672D #1F3567 #671F59 #67511F
square
#1F672D #1F3567 #671F59 #67511F
split-complementary
#1F672D #511F67 #671F35
monochromatic
#07180A #113818 #1F672D #2D9642 #3CC457

Accessibility & contrast

On white

6.92
#1F672D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1F672D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F672D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F672D#FFFFFF#000000##FFFFFF
##1F672D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E28
Deuteranopia (green-blind)
#605731
Tritanopia (blue-blind)
#07655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f672d;
/* rgb */ color: rgb(31, 103, 45);
/* oklch */ color: oklch(45.5% 0.115 146.8);
Tailwind
colors: {
  custom: {
    50: '#659367',
    500: '#1f672d',
    950: '#000000',
  },
}
SCSS
$custom: #1f672d;
$custom-light: #659367;
$custom-dark: #000000;
JSON
{
  "hex": "#1f672d",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 45
  },
  "hsl": {
    "h": 131.667,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.11484,
    "h": 146.8
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#1F672D
secondary
#9B468B
accent
#4BC1DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F672D

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

Preview Lab → · Contrast checker → · Palette generator →

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