#1F2600#1F2600

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

Color values

HEX#1F2600
RGBrgb(31, 38, 0)
HSLhsl(71, 100%, 7%)
HSVhsv(71, 100%, 15%)
CMYKcmyk(18.4%, 0%, 100%, 85.1%)
CIE-LABlab(13.69, -9.72, 19.93)
CIE-LCHlch(13.69, 22.17, 115.99°)
OKLaboklab(25.27% -0.0295 0.052)
OKLCHoklch(25.27% 0.06 119.6)
XYZxyz(1.2582, 1.6775, 0.2575)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2600 #070026
analogous
#261A00 #1F2600 #0C2600
triadic
#1F2600 #001F26 #26001F
tetradic
#1F2600 #00261A #070026 #26000C
square
#1F2600 #00261A #070026 #26000C
split-complementary
#1F2600 #000C26 #1A0026
monochromatic
#191F00 #191F00 #1F2600 #516300 #83A000

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F2600#FFFFFF#000000##FFFFFF
##1F26001.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)
#292302
Tritanopia (blue-blind)
#22231F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f2600;
/* rgb */ color: rgb(31, 38, 0);
/* oklch */ color: oklch(25.3% 0.060 119.6);
Tailwind
colors: {
  custom: {
    50: '#5b6046',
    500: '#1f2600',
    950: '#000000',
  },
}
SCSS
$custom: #1f2600;
$custom-light: #5b6046;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2600",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 0
  },
  "hsl": {
    "h": 71.053,
    "s": 100,
    "l": 7.451
  },
  "oklch": {
    "l": 0.2527,
    "c": 0.05974,
    "h": 119.6
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#1F2600
secondary
#24136E
accent
#29FF50
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #1F2600

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

Preview Lab → · Contrast checker → · Palette generator →

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