#1F2501#1F2501

#1F2501 is a very dark, muted yellow-green. Relative luminance 0.016; OKLCH L 25.0% C 0.057 H 118.6°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#1F2501
RGBrgb(31, 37, 1)
HSLhsl(70, 95%, 7%)
HSVhsv(70, 97%, 15%)
CMYKcmyk(16.2%, 0%, 97.3%, 85.5%)
CIE-LABlab(13.33, -8.97, 19.04)
CIE-LCHlch(13.33, 21.05, 115.22°)
OKLaboklab(24.98% -0.0272 0.05)
OKLCHoklch(24.98% 0.057 118.6)
XYZxyz(1.2322, 1.6166, 0.2758)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2501 #070125
analogous
#251901 #1F2501 #0D2501
triadic
#1F2501 #011F25 #25011F
tetradic
#1F2501 #012519 #070125 #25010D
square
#1F2501 #012519 #070125 #25010D
split-complementary
#1F2501 #010D25 #190125
monochromatic
#191E01 #191E01 #1F2501 #516103 #839C04

Accessibility & contrast

On white

15.87
#1F2501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1F2501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2501
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2501#FFFFFF#000000##FFFFFF
##1F25011.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#282203
Tritanopia (blue-blind)
#22221E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1f2501;
/* rgb */ color: rgb(31, 37, 1);
/* oklch */ color: oklch(25.0% 0.057 118.6);
Tailwind
colors: {
  custom: {
    50: '#5b5f47',
    500: '#1f2501',
    950: '#000000',
  },
}
SCSS
$custom: #1f2501;
$custom-light: #5b5f47;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2501",
  "rgb": {
    "r": 31,
    "g": 37,
    "b": 1
  },
  "hsl": {
    "h": 70,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.2498,
    "c": 0.05691,
    "h": 118.6
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#1F2501
secondary
#24166C
accent
#29FF4D
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1F2501

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

Preview Lab → · Contrast checker → · Palette generator →

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