#1F290E#1F290E

#1F290E is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.047 H 126.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#1F290E
RGBrgb(31, 41, 14)
HSLhsl(82, 49%, 11%)
HSVhsv(82, 66%, 16%)
CMYKcmyk(24.4%, 0%, 65.9%, 83.9%)
CIE-LABlab(15.00, -9.98, 15.74)
CIE-LCHlch(15.00, 18.64, 122.39°)
OKLaboklab(26.38% -0.028 0.0382)
OKLCHoklch(26.38% 0.047 126.3)
XYZxyz(1.4373, 1.9089, 0.7081)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F290E #180E29
analogous
#29250E #1F290E #11290E
triadic
#1F290E #0E1F29 #290E1F
tetradic
#1F290E #0E2925 #180E29 #290E11
square
#1F290E #0E2925 #180E29 #290E11
split-complementary
#1F290E #0E1129 #250E29
monochromatic
#111708 #111708 #1F290E #41571E #64842D

Accessibility & contrast

On white

15.20
#1F290E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F290E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F290E#FFFFFF#000000##FFFFFF
##1F290E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260B
Deuteranopia (green-blind)
#2A2610
Tritanopia (blue-blind)
#202723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f290e;
/* rgb */ color: rgb(31, 41, 14);
/* oklch */ color: oklch(26.4% 0.047 126.3);
Tailwind
colors: {
  custom: {
    50: '#5b624d',
    500: '#1f290e',
    950: '#000000',
  },
}
SCSS
$custom: #1f290e;
$custom-light: #5b624d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f290e",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 14
  },
  "hsl": {
    "h": 82.222,
    "s": 49.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26381,
    "c": 0.04734,
    "h": 126.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#1F290E
secondary
#433063
accent
#4FD982
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F290E

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

Preview Lab → · Contrast checker → · Palette generator →

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