#1F240F#1F240F

#1F240F is a very dark, muted yellow-green. Relative luminance 0.016; OKLCH L 24.9% C 0.037 H 120.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#1F240F
RGBrgb(31, 36, 15)
HSLhsl(74, 41%, 10%)
HSVhsv(74, 58%, 14%)
CMYKcmyk(13.9%, 0%, 58.3%, 85.9%)
CIE-LABlab(13.15, -6.64, 12.80)
CIE-LCHlch(13.15, 14.42, 117.42°)
OKLaboklab(24.9% -0.0185 0.0319)
OKLCHoklch(24.9% 0.037 120.1)
XYZxyz(1.2822, 1.5876, 0.6907)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F240F #140F24
analogous
#241F0F #1F240F #14240F
triadic
#1F240F #0F1F24 #240F1F
tetradic
#1F240F #0F241F #140F24 #240F14
square
#1F240F #0F241F #140F24 #240F14
split-complementary
#1F240F #0F1424 #1F0F24
monochromatic
#131609 #131609 #1F240F #444F21 #697A33

Accessibility & contrast

On white

15.94
#1F240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1F240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F240F
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F240F#FFFFFF#000000##FFFFFF
##1F240F1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#262210
Tritanopia (blue-blind)
#21221F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1f240f;
/* rgb */ color: rgb(31, 36, 15);
/* oklch */ color: oklch(24.9% 0.037 120.1);
Tailwind
colors: {
  custom: {
    50: '#5b5e4e',
    500: '#1f240f',
    950: '#000000',
  },
}
SCSS
$custom: #1f240f;
$custom-light: #5b5e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f240f",
  "rgb": {
    "r": 31,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 74.286,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.24901,
    "c": 0.0369,
    "h": 120.1
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#1F240F
secondary
#3D335C
accent
#57D174
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #1F240F

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

Preview Lab → · Contrast checker → · Palette generator →

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