#1F460E#1F460E

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

Color values

HEX#1F460E
RGBrgb(31, 70, 14)
HSLhsl(102, 67%, 16%)
HSVhsv(102, 80%, 27%)
CMYKcmyk(55.7%, 0%, 80%, 72.5%)
CIE-LABlab(25.87, -25.43, 28.01)
CIE-LCHlch(25.87, 37.83, 132.23°)
OKLaboklab(35.25% -0.0703 0.0634)
OKLCHoklch(35.25% 0.095 138)
XYZxyz(2.8344, 4.7031, 1.1738)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F460E #350E46
analogous
#3B460E #1F460E #0E4619
triadic
#1F460E #0E1F46 #460E1F
tetradic
#1F460E #0E3B46 #350E46 #46190E
square
#1F460E #0E3B46 #350E46 #46190E
split-complementary
#1F460E #190E46 #460E3B
monochromatic
#0B1A05 #0B1A05 #1F460E #367918 #4CAC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F460E#FFFFFF#000000##FFFFFF
##1F460E1.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)
#483F05
Deuteranopia (green-blind)
#433C13
Tritanopia (blue-blind)
#1C433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f460e;
/* rgb */ color: rgb(31, 70, 14);
/* oklch */ color: oklch(35.2% 0.095 138.0);
Tailwind
colors: {
  custom: {
    50: '#5f7a50',
    500: '#1f460e',
    950: '#000000',
  },
}
SCSS
$custom: #1f460e;
$custom-light: #5f7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f460e",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 101.786,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.09466,
    "h": 138
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#1F460E
secondary
#682F81
accent
#3EEAB6
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F460E

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

Preview Lab → · Contrast checker → · Palette generator →

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