#1F290F#1F290F

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

Color values

HEX#1F290F
RGBrgb(31, 41, 15)
HSLhsl(83, 46%, 11%)
HSVhsv(83, 63%, 16%)
CMYKcmyk(24.4%, 0%, 63.4%, 83.9%)
CIE-LABlab(15.02, -9.85, 15.24)
CIE-LCHlch(15.02, 18.15, 122.88°)
OKLaboklab(26.4% -0.0275 0.0369)
OKLCHoklch(26.4% 0.046 126.7)
XYZxyz(1.4442, 1.9117, 0.7447)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F290F #190F29
analogous
#29260F #1F290F #12290F
triadic
#1F290F #0F1F29 #290F1F
tetradic
#1F290F #0F2926 #190F29 #290F12
square
#1F290F #0F2926 #190F29 #290F12
split-complementary
#1F290F #0F1229 #260F29
monochromatic
#111608 #111608 #1F290F #41561F #638330

Accessibility & contrast

On white

15.19
#1F290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F290F
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F290F#FFFFFF#000000##FFFFFF
##1F290F1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f290f;
/* rgb */ color: rgb(31, 41, 15);
/* oklch */ color: oklch(26.4% 0.046 126.7);
Tailwind
colors: {
  custom: {
    50: '#5b624e',
    500: '#1f290f',
    950: '#000000',
  },
}
SCSS
$custom: #1f290f;
$custom-light: #5b624e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f290f",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 83.077,
    "s": 46.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26398,
    "c": 0.04608,
    "h": 126.7
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#1F290F
secondary
#443262
accent
#52D685
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F290F

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

Preview Lab → · Contrast checker → · Palette generator →

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