#1F2601#1F2601

#1F2601 is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.3% C 0.058 H 119.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#1F2601
RGBrgb(31, 38, 1)
HSLhsl(71, 95%, 8%)
HSVhsv(71, 97%, 15%)
CMYKcmyk(18.4%, 0%, 97.4%, 85.1%)
CIE-LABlab(13.71, -9.60, 19.54)
CIE-LCHlch(13.71, 21.77, 116.17°)
OKLaboklab(25.28% -0.0289 0.0507)
OKLCHoklch(25.28% 0.058 119.8)
XYZxyz(1.2637, 1.6797, 0.2864)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2601 #080126
analogous
#261A01 #1F2601 #0D2601
triadic
#1F2601 #011F26 #26011F
tetradic
#1F2601 #01261A #080126 #26010D
square
#1F2601 #01261A #080126 #26010D
split-complementary
#1F2601 #010D26 #1A0126
monochromatic
#181E01 #181E01 #1F2601 #506203 #809D04

Accessibility & contrast

On white

15.72
#1F2601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1F2601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2601
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2601#FFFFFF#000000##FFFFFF
##1F26011.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#282303
Tritanopia (blue-blind)
#22231F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f2601;
/* rgb */ color: rgb(31, 38, 1);
/* oklch */ color: oklch(25.3% 0.058 119.8);
Tailwind
colors: {
  custom: {
    50: '#5b6047',
    500: '#1f2601',
    950: '#000000',
  },
}
SCSS
$custom: #1f2601;
$custom-light: #5b6047;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2601",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 1
  },
  "hsl": {
    "h": 71.351,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.25284,
    "c": 0.05834,
    "h": 119.8
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#1F2601
secondary
#26166D
accent
#29FF51
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1F2601

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

Preview Lab → · Contrast checker → · Palette generator →

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