#1F260A#1F260A

#1F260A is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.4% C 0.047 H 121.6°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#1F260A
RGBrgb(31, 38, 10)
HSLhsl(75, 58%, 9%)
HSVhsv(75, 74%, 15%)
CMYKcmyk(18.4%, 0%, 73.7%, 85.1%)
CIE-LABlab(13.82, -8.58, 16.02)
CIE-LCHlch(13.82, 18.18, 118.16°)
OKLaboklab(25.41% -0.0246 0.04)
OKLCHoklch(25.41% 0.047 121.6)
XYZxyz(1.3130, 1.6994, 0.5460)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F260A #110A26
analogous
#261F0A #1F260A #11260A
triadic
#1F260A #0A1F26 #260A1F
tetradic
#1F260A #0A261F #110A26 #260A11
square
#1F260A #0A261F #110A26 #260A11
split-complementary
#1F260A #0A1126 #1F0A26
monochromatic
#141806 #141806 #1F260A #475617 #6E8724

Accessibility & contrast

On white

15.67
#1F260A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1F260A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F260A
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F260A#FFFFFF#000000##FFFFFF
##1F260A1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292307
Deuteranopia (green-blind)
#28230C
Tritanopia (blue-blind)
#212420
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f260a;
/* rgb */ color: rgb(31, 38, 10);
/* oklch */ color: oklch(25.4% 0.047 121.6);
Tailwind
colors: {
  custom: {
    50: '#5b604b',
    500: '#1f260a',
    950: '#000000',
  },
}
SCSS
$custom: #1f260a;
$custom-light: #5b604b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f260a",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 10
  },
  "hsl": {
    "h": 75,
    "s": 58.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25414,
    "c": 0.04691,
    "h": 121.6
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#1F260A
secondary
#382962
accent
#46E26D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #1F260A

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

Preview Lab → · Contrast checker → · Palette generator →

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