#1F672A#1F672A

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

Color values

HEX#1F672A
RGBrgb(31, 103, 42)
HSLhsl(129, 54%, 26%)
HSVhsv(129, 70%, 40%)
CMYKcmyk(69.9%, 0%, 59.2%, 59.6%)
CIE-LABlab(38.13, -36.08, 27.71)
CIE-LCHlch(38.13, 45.49, 142.47°)
OKLaboklab(45.45% -0.0975 0.066)
OKLCHoklch(45.45% 0.118 145.9)
XYZxyz(5.8328, 10.1584, 3.8434)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F672A #671F5C
analogous
#38671F #1F672A #1F674E
triadic
#1F672A #2A1F67 #672A1F
tetradic
#1F672A #1F3867 #671F5C #674E1F
square
#1F672A #1F3867 #671F5C #674E1F
split-complementary
#1F672A #4E1F67 #671F38
monochromatic
#07180A #113817 #1F672A #2D963D #3CC451

Accessibility & contrast

On white

6.93
#1F672A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1F672A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F672A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F672A#FFFFFF#000000##FFFFFF
##1F672A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D24
Deuteranopia (green-blind)
#60572F
Tritanopia (blue-blind)
#096459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f672a;
/* rgb */ color: rgb(31, 103, 42);
/* oklch */ color: oklch(45.5% 0.118 145.9);
Tailwind
colors: {
  custom: {
    50: '#659365',
    500: '#1f672a',
    950: '#000000',
  },
}
SCSS
$custom: #1f672a;
$custom-light: #659365;
$custom-dark: #000000;
JSON
{
  "hex": "#1f672a",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 42
  },
  "hsl": {
    "h": 129.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.11772,
    "h": 145.9
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#1F672A
secondary
#9B468E
accent
#4BC7DD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F672A

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

Preview Lab → · Contrast checker → · Palette generator →

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