#1F672F#1F672F

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

Color values

HEX#1F672F
RGBrgb(31, 103, 47)
HSLhsl(133, 54%, 26%)
HSVhsv(133, 70%, 40%)
CMYKcmyk(69.9%, 0%, 54.4%, 59.6%)
CIE-LABlab(38.19, -35.30, 25.09)
CIE-LCHlch(38.19, 43.31, 144.59°)
OKLaboklab(45.53% -0.0952 0.0606)
OKLCHoklch(45.53% 0.113 147.5)
XYZxyz(5.9280, 10.1964, 4.3445)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F672F #671F57
analogous
#33671F #1F672F #1F6753
triadic
#1F672F #2F1F67 #672F1F
tetradic
#1F672F #1F3367 #671F57 #67531F
square
#1F672F #1F3367 #671F57 #67531F
split-complementary
#1F672F #531F67 #671F33
monochromatic
#07180B #11381A #1F672F #2D9644 #3CC45A

Accessibility & contrast

On white

6.91
#1F672F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F672F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F672F#FFFFFF#000000##FFFFFF
##1F672F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E2A
Deuteranopia (green-blind)
#5F5733
Tritanopia (blue-blind)
#06655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f672f;
/* rgb */ color: rgb(31, 103, 47);
/* oklch */ color: oklch(45.5% 0.113 147.5);
Tailwind
colors: {
  custom: {
    50: '#659369',
    500: '#1f672f',
    950: '#000000',
  },
}
SCSS
$custom: #1f672f;
$custom-light: #659369;
$custom-dark: #000000;
JSON
{
  "hex": "#1f672f",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 47
  },
  "hsl": {
    "h": 133.333,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.11287,
    "h": 147.5
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#1F672F
secondary
#9B4688
accent
#4BBDDD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F672F

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

Preview Lab → · Contrast checker → · Palette generator →

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