#1F2913#1F2913

#1F2913 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.041 H 128.8°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#1F2913
RGBrgb(31, 41, 19)
HSLhsl(87, 37%, 12%)
HSVhsv(87, 54%, 16%)
CMYKcmyk(24.4%, 0%, 53.7%, 83.9%)
CIE-LABlab(15.08, -9.25, 13.00)
CIE-LCHlch(15.08, 15.96, 125.45°)
OKLaboklab(26.47% -0.0255 0.0317)
OKLCHoklch(26.47% 0.041 128.8)
XYZxyz(1.4755, 1.9242, 0.9096)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2913 #1D1329
analogous
#292813 #1F2913 #142913
triadic
#1F2913 #131F29 #29131F
tetradic
#1F2913 #132928 #1D1329 #291314
square
#1F2913 #132928 #1D1329 #291314
split-complementary
#1F2913 #131429 #281329
monochromatic
#10150A #10150A #1F2913 #3F5326 #5E7D3A

Accessibility & contrast

On white

15.16
#1F2913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1F2913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2913
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2913#FFFFFF#000000##FFFFFF
##1F29131.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2611
Deuteranopia (green-blind)
#292614
Tritanopia (blue-blind)
#202724
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f2913;
/* rgb */ color: rgb(31, 41, 19);
/* oklch */ color: oklch(26.5% 0.041 128.8);
Tailwind
colors: {
  custom: {
    50: '#5b6251',
    500: '#1f2913',
    950: '#000000',
  },
}
SCSS
$custom: #1f2913;
$custom-light: #5b6251;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2913",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 19
  },
  "hsl": {
    "h": 87.273,
    "s": 36.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26474,
    "c": 0.04068,
    "h": 128.8
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#1F2913
secondary
#4A385F
accent
#5BCD8F
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040502
muted
#797978

Preview Lab

Preview with #1F2913

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

Preview Lab → · Contrast checker → · Palette generator →

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