#1F460D#1F460D

#1F460D is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.095 H 137.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1F460D
RGBrgb(31, 70, 13)
HSLhsl(101, 69%, 16%)
HSVhsv(101, 81%, 27%)
CMYKcmyk(55.7%, 0%, 81.4%, 72.5%)
CIE-LABlab(25.86, -25.52, 28.44)
CIE-LCHlch(25.86, 38.21, 131.90°)
OKLaboklab(35.24% -0.0706 0.0641)
OKLCHoklch(35.24% 0.095 137.7)
XYZxyz(2.8278, 4.7005, 1.1390)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F460D #340D46
analogous
#3C460D #1F460D #0D4618
triadic
#1F460D #0D1F46 #460D1F
tetradic
#1F460D #0D3C46 #340D46 #46180D
square
#1F460D #0D3C46 #340D46 #46180D
split-complementary
#1F460D #180D46 #460D3C
monochromatic
#0B1A05 #0B1A05 #1F460D #367A17 #4DAD20

Accessibility & contrast

On white

10.82
#1F460D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1F460D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F460D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F460D#FFFFFF#000000##FFFFFF
##1F460D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F04
Deuteranopia (green-blind)
#433C13
Tritanopia (blue-blind)
#1C433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f460d;
/* rgb */ color: rgb(31, 70, 13);
/* oklch */ color: oklch(35.2% 0.095 137.7);
Tailwind
colors: {
  custom: {
    50: '#5f7a50',
    500: '#1f460d',
    950: '#000000',
  },
}
SCSS
$custom: #1f460d;
$custom-light: #5f7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f460d",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 101.053,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.09538,
    "h": 137.7
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#1F460D
secondary
#672D81
accent
#3CECB4
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F460D

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

Preview Lab → · Contrast checker → · Palette generator →

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