#1F290A#1F290A

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

Color values

HEX#1F290A
RGBrgb(31, 41, 10)
HSLhsl(79, 61%, 10%)
HSVhsv(79, 76%, 16%)
CMYKcmyk(24.4%, 0%, 75.6%, 83.9%)
CIE-LABlab(14.95, -10.46, 17.49)
CIE-LCHlch(14.95, 20.38, 120.89°)
OKLaboklab(26.32% -0.0298 0.0426)
OKLCHoklch(26.32% 0.052 125)
XYZxyz(1.4128, 1.8991, 0.5792)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F290A #140A29
analogous
#29240A #1F290A #0F290A
triadic
#1F290A #0A1F29 #290A1F
tetradic
#1F290A #0A2924 #140A29 #290A0F
square
#1F290A #0A2924 #140A29 #290A0F
split-complementary
#1F290A #0A0F29 #240A29
monochromatic
#131906 #131906 #1F290A #445A16 #698B22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F290A#FFFFFF#000000##FFFFFF
##1F290A1.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)
#2C2607
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#212722
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f290a;
/* rgb */ color: rgb(31, 41, 10);
/* oklch */ color: oklch(26.3% 0.052 125.0);
Tailwind
colors: {
  custom: {
    50: '#5b624b',
    500: '#1f290a',
    950: '#000000',
  },
}
SCSS
$custom: #1f290a;
$custom-light: #5b624b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f290a",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 10
  },
  "hsl": {
    "h": 79.355,
    "s": 60.784,
    "l": 10
  },
  "oklch": {
    "l": 0.26321,
    "c": 0.05203,
    "h": 125
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#1F290A
secondary
#3D2966
accent
#44E478
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F290A

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

Preview Lab → · Contrast checker → · Palette generator →

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