#1F290B#1F290B

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

Color values

HEX#1F290B
RGBrgb(31, 41, 11)
HSLhsl(80, 58%, 10%)
HSVhsv(80, 73%, 16%)
CMYKcmyk(24.4%, 0%, 73.2%, 83.9%)
CIE-LABlab(14.96, -10.35, 17.09)
CIE-LCHlch(14.96, 19.98, 121.21°)
OKLaboklab(26.33% -0.0294 0.0416)
OKLCHoklch(26.33% 0.051 125.3)
XYZxyz(1.4184, 1.9013, 0.6088)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F290B #150B29
analogous
#29240B #1F290B #10290B
triadic
#1F290B #0B1F29 #290B1F
tetradic
#1F290B #0B2924 #150B29 #290B10
square
#1F290B #0B2924 #150B29 #290B10
split-complementary
#1F290B #0B1029 #240B29
monochromatic
#121806 #121806 #1F290B #435918 #688A25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F290B#FFFFFF#000000##FFFFFF
##1F290B1.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)
#2C2608
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#212723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f290b;
/* rgb */ color: rgb(31, 41, 11);
/* oklch */ color: oklch(26.3% 0.051 125.3);
Tailwind
colors: {
  custom: {
    50: '#5b624c',
    500: '#1f290b',
    950: '#000000',
  },
}
SCSS
$custom: #1f290b;
$custom-light: #5b624c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f290b",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 11
  },
  "hsl": {
    "h": 80,
    "s": 57.692,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26335,
    "c": 0.05092,
    "h": 125.3
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#1F290B
secondary
#3E2B65
accent
#47E17A
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F290B

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

Preview Lab → · Contrast checker → · Palette generator →

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