#1F3601#1F3601

#1F3601 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.081 H 131.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1F3601
RGBrgb(31, 54, 1)
HSLhsl(86, 96%, 11%)
HSVhsv(86, 98%, 21%)
CMYKcmyk(42.6%, 0%, 98.1%, 78.8%)
CIE-LABlab(19.77, -18.72, 27.00)
CIE-LCHlch(19.77, 32.86, 124.73°)
OKLaboklab(30.21% -0.0535 0.0614)
OKLCHoklch(30.21% 0.081 131.1)
XYZxyz(1.8897, 2.9318, 0.4950)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3601 #180136
analogous
#363201 #1F3601 #043601
triadic
#1F3601 #011F36 #36011F
tetradic
#1F3601 #013632 #180136 #360104
square
#1F3601 #013632 #180136 #360104
split-complementary
#1F3601 #010436 #320136
monochromatic
#111E01 #111E01 #1F3601 #417202 #64AE03

Accessibility & contrast

On white

13.24
#1F3601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F3601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3601
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3601#FFFFFF#000000##FFFFFF
##1F36011.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#362F06
Tritanopia (blue-blind)
#20332C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f3601;
/* rgb */ color: rgb(31, 54, 1);
/* oklch */ color: oklch(30.2% 0.081 131.1);
Tailwind
colors: {
  custom: {
    50: '#5d6d48',
    500: '#1f3601',
    950: '#000000',
  },
}
SCSS
$custom: #1f3601;
$custom-light: #5d6d48;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3601",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 1
  },
  "hsl": {
    "h": 86.038,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.3021,
    "c": 0.08142,
    "h": 131.1
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#1F3601
secondary
#43187B
accent
#29FF86
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040700
muted
#797A77

Preview Lab

Preview with #1F3601

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

Preview Lab → · Contrast checker → · Palette generator →

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