#1F2909#1F2909

#1F2909 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.053 H 124.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#1F2909
RGBrgb(31, 41, 9)
HSLhsl(79, 64%, 10%)
HSVhsv(79, 78%, 16%)
CMYKcmyk(24.4%, 0%, 78%, 83.9%)
CIE-LABlab(14.94, -10.57, 17.88)
CIE-LCHlch(14.94, 20.77, 120.59°)
OKLaboklab(26.31% -0.0302 0.0437)
OKLCHoklch(26.31% 0.053 124.7)
XYZxyz(1.4073, 1.8969, 0.5504)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2909 #130929
analogous
#292309 #1F2909 #0F2909
triadic
#1F2909 #091F29 #29091F
tetradic
#1F2909 #092923 #130929 #29090F
square
#1F2909 #092923 #130929 #29090F
split-complementary
#1F2909 #090F29 #230929
monochromatic
#131906 #131906 #1F2909 #455B14 #6B8D1F

Accessibility & contrast

On white

15.22
#1F2909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2909
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2909#FFFFFF#000000##FFFFFF
##1F29091.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#212722
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f2909;
/* rgb */ color: rgb(31, 41, 9);
/* oklch */ color: oklch(26.3% 0.053 124.7);
Tailwind
colors: {
  custom: {
    50: '#5b624b',
    500: '#1f2909',
    950: '#000000',
  },
}
SCSS
$custom: #1f2909;
$custom-light: #5b624b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2909",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 9
  },
  "hsl": {
    "h": 78.75,
    "s": 64,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26307,
    "c": 0.05312,
    "h": 124.7
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#1F2909
secondary
#3B2767
accent
#41E775
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F2909

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

Preview Lab → · Contrast checker → · Palette generator →

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