#1F2500#1F2500

#1F2500 is a very dark, muted yellow. Relative luminance 0.016; OKLCH L 25.0% C 0.058 H 118.4°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#1F2500
RGBrgb(31, 37, 0)
HSLhsl(70, 100%, 7%)
HSVhsv(70, 100%, 15%)
CMYKcmyk(16.2%, 0%, 100%, 85.5%)
CIE-LABlab(13.32, -9.09, 19.43)
CIE-LCHlch(13.32, 21.45, 115.07°)
OKLaboklab(24.97% -0.0278 0.0513)
OKLCHoklch(24.97% 0.058 118.4)
XYZxyz(1.2267, 1.6145, 0.2470)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2500 #060025
analogous
#251900 #1F2500 #0D2500
triadic
#1F2500 #001F25 #25001F
tetradic
#1F2500 #002519 #060025 #25000D
square
#1F2500 #002519 #060025 #25000D
split-complementary
#1F2500 #000D25 #190025
monochromatic
#1A1F00 #1A1F00 #1F2500 #526200 #869F00

Accessibility & contrast

On white

15.88
#1F2500 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2500
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2500#FFFFFF#000000##FFFFFF
##1F25001.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2500;
/* rgb */ color: rgb(31, 37, 0);
/* oklch */ color: oklch(25.0% 0.058 118.4);
Tailwind
colors: {
  custom: {
    50: '#5b5f46',
    500: '#1f2500',
    950: '#000000',
  },
}
SCSS
$custom: #1f2500;
$custom-light: #5b5f46;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2500",
  "rgb": {
    "r": 31,
    "g": 37,
    "b": 0
  },
  "hsl": {
    "h": 69.73,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.24966,
    "c": 0.05836,
    "h": 118.4
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#1F2500
secondary
#22136D
accent
#29FF4C
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #1F2500

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

Preview Lab → · Contrast checker → · Palette generator →

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