#1F2300#1F2300

#1F2300 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.4% C 0.056 H 115.9°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#1F2300
RGBrgb(31, 35, 0)
HSLhsl(67, 100%, 7%)
HSVhsv(67, 100%, 14%)
CMYKcmyk(11.4%, 0%, 100%, 86.3%)
CIE-LABlab(12.57, -7.81, 18.42)
CIE-LCHlch(12.57, 20.01, 112.98°)
OKLaboklab(24.36% -0.0243 0.05)
OKLCHoklch(24.36% 0.056 115.9)
XYZxyz(1.1661, 1.4934, 0.2268)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2300 #040023
analogous
#231600 #1F2300 #0E2300
triadic
#1F2300 #001F23 #23001F
tetradic
#1F2300 #002316 #040023 #23000E
square
#1F2300 #002316 #040023 #23000E
split-complementary
#1F2300 #000E23 #160023
monochromatic
#1B1F00 #1B1F00 #1F2300 #556000 #8B9D00

Accessibility & contrast

On white

16.17
#1F2300 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1F2300 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2300
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2300#FFFFFF#000000##FFFFFF
##1F23001.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#262102
Tritanopia (blue-blind)
#22201C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1f2300;
/* rgb */ color: rgb(31, 35, 0);
/* oklch */ color: oklch(24.4% 0.056 115.9);
Tailwind
colors: {
  custom: {
    50: '#5b5d46',
    500: '#1f2300',
    950: '#000000',
  },
}
SCSS
$custom: #1f2300;
$custom-light: #5b5d46;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2300",
  "rgb": {
    "r": 31,
    "g": 35,
    "b": 0
  },
  "hsl": {
    "h": 66.857,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.2436,
    "c": 0.05564,
    "h": 115.9
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#1F2300
secondary
#1D136C
accent
#29FF41
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #1F2300

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

Preview Lab → · Contrast checker → · Palette generator →

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