#1F290C#1F290C

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

Color values

HEX#1F290C
RGBrgb(31, 41, 12)
HSLhsl(81, 55%, 10%)
HSVhsv(81, 71%, 16%)
CMYKcmyk(24.4%, 0%, 70.7%, 83.9%)
CIE-LABlab(14.97, -10.23, 16.66)
CIE-LCHlch(14.97, 19.55, 121.56°)
OKLaboklab(26.35% -0.0289 0.0405)
OKLCHoklch(26.35% 0.05 125.6)
XYZxyz(1.4244, 1.9037, 0.6402)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F290C #160C29
analogous
#29240C #1F290C #10290C
triadic
#1F290C #0C1F29 #290C1F
tetradic
#1F290C #0C2924 #160C29 #290C10
square
#1F290C #0C2924 #160C29 #290C10
split-complementary
#1F290C #0C1029 #240C29
monochromatic
#121807 #121807 #1F290C #43581A #678828

Accessibility & contrast

On white

15.21
#1F290C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F290C
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F290C#FFFFFF#000000##FFFFFF
##1F290C1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2609
Deuteranopia (green-blind)
#2A250E
Tritanopia (blue-blind)
#212723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f290c;
/* rgb */ color: rgb(31, 41, 12);
/* oklch */ color: oklch(26.3% 0.050 125.6);
Tailwind
colors: {
  custom: {
    50: '#5b624c',
    500: '#1f290c',
    950: '#000000',
  },
}
SCSS
$custom: #1f290c;
$custom-light: #5b624c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f290c",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 12
  },
  "hsl": {
    "h": 80.69,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26349,
    "c": 0.04977,
    "h": 125.6
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#1F290C
secondary
#402D64
accent
#4ADE7D
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #1F290C

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

Preview Lab → · Contrast checker → · Palette generator →

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