#1F672E#1F672E

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

Color values

HEX#1F672E
RGBrgb(31, 103, 46)
HSLhsl(133, 54%, 26%)
HSVhsv(133, 70%, 40%)
CMYKcmyk(69.9%, 0%, 55.3%, 59.6%)
CIE-LABlab(38.18, -35.46, 25.62)
CIE-LCHlch(38.18, 43.75, 144.15°)
OKLaboklab(45.51% -0.0957 0.0617)
OKLCHoklch(45.51% 0.114 147.2)
XYZxyz(5.9080, 10.1884, 4.2394)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F672E #671F58
analogous
#34671F #1F672E #1F6752
triadic
#1F672E #2E1F67 #672E1F
tetradic
#1F672E #1F3467 #671F58 #67521F
square
#1F672E #1F3467 #671F58 #67521F
split-complementary
#1F672E #521F67 #671F34
monochromatic
#07180B #113819 #1F672E #2D9643 #3CC458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F672E#FFFFFF#000000##FFFFFF
##1F672E1.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)
#685E29
Deuteranopia (green-blind)
#5F5732
Tritanopia (blue-blind)
#06655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f672e;
/* rgb */ color: rgb(31, 103, 46);
/* oklch */ color: oklch(45.5% 0.114 147.2);
Tailwind
colors: {
  custom: {
    50: '#659368',
    500: '#1f672e',
    950: '#000000',
  },
}
SCSS
$custom: #1f672e;
$custom-light: #659368;
$custom-dark: #000000;
JSON
{
  "hex": "#1f672e",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 46
  },
  "hsl": {
    "h": 132.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.11386,
    "h": 147.2
  },
  "luminance": 0.10189
}

Semantic roles & 50–950 ramp

primary
#1F672E
secondary
#9B468A
accent
#4BBFDD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F672E

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

Preview Lab → · Contrast checker → · Palette generator →

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