#181702#181702

#181702 is a very dark, muted yellow. Relative luminance 0.008; OKLCH L 20.0% C 0.038 H 107.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#181702
RGBrgb(24, 23, 2)
HSLhsl(57, 85%, 5%)
HSVhsv(57, 92%, 9%)
CMYKcmyk(0%, 4.2%, 91.7%, 90.6%)
CIE-LABlab(7.33, -3.16, 10.10)
CIE-LCHlch(7.33, 10.58, 107.37°)
OKLaboklab(19.98% -0.0113 0.0368)
OKLCHoklch(19.98% 0.038 107.1)
XYZxyz(0.6941, 0.8114, 0.1775)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181702 #020318
analogous
#180C02 #181702 #0E1802
triadic
#181702 #021817 #170218
tetradic
#181702 #02180C #020318 #18020E
square
#181702 #02180C #020318 #18020E
split-complementary
#181702 #020E18 #0C0218
monochromatic
#1C1B02 #1C1B02 #1C1B02 #504D07 #89830B

Accessibility & contrast

On white

18.07
#181702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#181702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181702
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181702#FFFFFF#000000##FFFFFF
##1817021.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1601
Deuteranopia (green-blind)
#1A1703
Tritanopia (blue-blind)
#1B1512
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #181702;
/* rgb */ color: rgb(24, 23, 2);
/* oklch */ color: oklch(20.0% 0.038 107.1);
Tailwind
colors: {
  custom: {
    50: '#545347',
    500: '#181702',
    950: '#000000',
  },
}
SCSS
$custom: #181702;
$custom-light: #545347;
$custom-dark: #000000;
JSON
{
  "hex": "#181702",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 2
  },
  "hsl": {
    "h": 57.273,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.19975,
    "c": 0.03844,
    "h": 107.1
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#181702
secondary
#181B5E
accent
#36FB2D
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020200
muted
#787877

Preview Lab

Preview with #181702

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

Preview Lab → · Contrast checker → · Palette generator →

#181702 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva