Skip to content

#1a1908

a deep, vivid yellow · warm · closest name: Black

RGB
26, 25, 8
HSL
57°, 53%, 7%
CMYK
0, 4, 69, 90
Luminance
0.0093

At a glance

Every number on this page in one read: what #1a1908 is made of, how bright it looks, and which way it leans.

Hex
#1a1908
Hue
57°
yellow
Saturation
53%
vivid
Lightness
7%
deep
Brightness
10%
HSV value
Perceived
9%
weighted brightness
Luminance
0.0093
WCAG relative
Temperature
Warm
22/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
17.70:1
Closest name
Black
ΔE2000 9.7
Where it sits
Hue57° of 360°
Saturation53%
Lightness7%
Temperature
Warm ← → Cool22% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#1a1908
RGBrgb(26, 25, 8)
HSLhsl(57, 53%, 7%)
CMYKcmyk(0%, 4%, 69%, 90%)
LABlab(8.4 -2.8 9.3)
LCHlch(8.4 9.7 106.8)
OKLCHoklch(0.209 0.030 105.7)
Decimal1710344
Display P3color(display-p3 0.102 0.098 0.031)

Copy-ready code

/* CSS */
color: #1a1908;
background-color: #1a1908;
/* Tailwind (arbitrary) */
class="text-[#1a1908] bg-[#1a1908]"
/* SCSS */
$brand: #1a1908;
/* SwiftUI */
Color(red: 0.102, green: 0.098, blue: 0.031)
/* Android */
Color.parseColor("#1a1908")
/* Flutter */
Color(0xFF1A1908)
/* Python / OpenCV (BGR) */
(8, 25, 26)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #1a1908 · 17.70:1
Use #ffffffAAA at every size.
Aa
White text · 17.70:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.19:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1a1908 as text scores 17.70:1 on white and 1.19:1 on black.

Accessibility — WCAG contrast

Aa
#1a1908 on white: 17.70:1
AA ✓ pass · AA-large · AAA
Aa
#1a1908 on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1C1807
deuteranopia · #1C1909
tritanopia · #1C1715

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1a1908 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFAF4
#F6F5E9
#EDECCE
#E5E1A9
#D7D27E
#CAC453
#BBB43A
#9C9630
#7D7826
#5B581F
#1a1908
Base = 950Lightest = 50 · #FBFAF4Darkest = 950 · #1a1908
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F5E9;
  --brand-200: #EDECCE;
  --brand-300: #E5E1A9;
  --brand-400: #D7D27E;
  --brand-500: #CAC453;
  --brand-600: #BBB43A;
  --brand-700: #9C9630;
  --brand-800: #7D7826;
  --brand-900: #5B581F;
  --brand-950: #1a1908;
  --brand: #1a1908;
  --brand-ink: #ffffff;
}

Colors that work with #1a1908

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAFAF4
Tinted page background
Border#ECE9C1
Hairlines and dividers
Muted text#9B964B
Captions on the surface
Accent#070D1B
Second voice, not a rival
Dark variant#615E1E
Hover, pressed, headers
Light variant#F9F8EC
Selected rows, tints
Dark surface#242414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #1a1908

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#08091A
Analogous left#1A1008
Analogous right#121A08
Split-complement 1#08121A
Split-complement 2#10081A
Triadic 1#081A19
Triadic 2#19081A
Tetradic#081A10

RGB percentages

Red10.2%
Green9.8%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta3.8%
Yellow69.2%
Key (black)89.8%

Color previews

#1a1908 text on a black background

contrast 1.19:1

Card sample

#1a1908 text on a white background

contrast 17.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1a1908;
Background color
Panel with #1a1908 background
background-color: #1a1908;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1a1908;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(26, 25, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(26, 25, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1a1908;
background: linear-gradient(135deg, #1a1908, #0F1A08);

Monochromatic scale

Palettes built from #1a1908

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#1a1908 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#1a1908, answered

What color is #1a1908?

#1a1908 is a deep vivid yellow, closest to Black (ΔE2000 9.7). It sits at 57° on the hue wheel with 53% saturation and 7% lightness, which reads as warm.

What is the RGB value of #1a1908?

rgb(26, 25, 8) — 26 red, 25 green and 8 blue out of 255, or 10.2% / 9.8% / 3.1% by channel.

Is #1a1908 a light or a dark color?

It is a dark color. Relative luminance is 0.0093 and perceived brightness is 9%, so white text on it reaches 17.70:1.

Should I use black or white text on #1a1908?

White. It scores 17.70:1 against #1a1908, versus 1.19:1 for black — AAA at any size.

What is the complementary color of #1a1908?

#08091A sits directly opposite on the wheel. Softer options are the split-complements #08121A and #10081A, which give the same contrast with far less vibration.

What colors go well with #1a1908?

For interface work: #FAFAF4 as the surface, #ECE9C1 for borders, #9B964B for secondary text, #070D1B as an accent and #615E1E for hover and pressed states. For a palette, the analogous pair #1A1008 and #121A08 stays calm, while #08091A is the loudest partner.

What is #1a1908 in CMYK for printing?

cmyk(0%, 4%, 69%, 90%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #1a1908 warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1A1308; nudged cooler, #151A08.

Work with #1a1908 in the Color Lab