#1F671A#1F671A

#1F671A is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.131 H 142.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1F671A
RGBrgb(31, 103, 26)
HSLhsl(116, 60%, 25%)
HSVhsv(116, 75%, 40%)
CMYKcmyk(69.9%, 0%, 74.8%, 59.6%)
CIE-LABlab(37.96, -38.01, 35.26)
CIE-LCHlch(37.96, 51.85, 137.15°)
OKLaboklab(45.26% -0.1035 0.0804)
OKLCHoklch(45.26% 0.131 142.2)
XYZxyz(5.6015, 10.0658, 2.6248)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F671A #621A67
analogous
#45671A #1F671A #1A673B
triadic
#1F671A #1A1F67 #671A1F
tetradic
#1F671A #1A4567 #621A67 #673B1A
square
#1F671A #1A4567 #621A67 #673B1A
split-complementary
#1F671A #3B1A67 #671A45
monochromatic
#071806 #10360E #1F671A #2E9826 #3CC933

Accessibility & contrast

On white

6.97
#1F671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1F671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F671A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F671A#FFFFFF#000000##FFFFFF
##1F671A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0E
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#0F6458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f671a;
/* rgb */ color: rgb(31, 103, 26);
/* oklch */ color: oklch(45.3% 0.131 142.2);
Tailwind
colors: {
  custom: {
    50: '#66935b',
    500: '#1f671a',
    950: '#000000',
  },
}
SCSS
$custom: #1f671a;
$custom-light: #66935b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f671a",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 116.104,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45263,
    "c": 0.13103,
    "h": 142.2
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#1F671A
secondary
#97409D
accent
#45E3D9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F671A

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

Preview Lab → · Contrast checker → · Palette generator →

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