#1F460A#1F460A

#1F460A is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.2% C 0.097 H 137.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#1F460A
RGBrgb(31, 70, 10)
HSLhsl(99, 75%, 16%)
HSVhsv(99, 86%, 27%)
CMYKcmyk(55.7%, 0%, 85.7%, 72.5%)
CIE-LABlab(25.84, -25.75, 29.64)
CIE-LCHlch(25.84, 39.26, 130.98°)
OKLaboklab(35.22% -0.0714 0.0661)
OKLCHoklch(35.22% 0.097 137.2)
XYZxyz(2.8099, 4.6933, 1.0449)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F460A #310A46
analogous
#3D460A #1F460A #0A4613
triadic
#1F460A #0A1F46 #460A1F
tetradic
#1F460A #0A3D46 #310A46 #46130A
square
#1F460A #0A3D46 #310A46 #46130A
split-complementary
#1F460A #130A46 #460A3D
monochromatic
#0C1B04 #0C1B04 #1F460A #377C12 #4EB119

Accessibility & contrast

On white

10.83
#1F460A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F460A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F460A#FFFFFF#000000##FFFFFF
##1F460A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F01
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#1D433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f460a;
/* rgb */ color: rgb(31, 70, 10);
/* oklch */ color: oklch(35.2% 0.097 137.2);
Tailwind
colors: {
  custom: {
    50: '#607a4e',
    500: '#1f460a',
    950: '#000000',
  },
}
SCSS
$custom: #1f460a;
$custom-light: #607a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f460a",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 99,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35216,
    "c": 0.09736,
    "h": 137.2
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#1F460A
secondary
#632983
accent
#36F2B0
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F460A

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

Preview Lab → · Contrast checker → · Palette generator →

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