#262102#262102

#262102 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.6% C 0.048 H 100.4°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#262102
RGBrgb(38, 33, 2)
HSLhsl(52, 90%, 8%)
HSVhsv(52, 95%, 15%)
CMYKcmyk(0%, 13.2%, 94.7%, 85.1%)
CIE-LABlab(12.63, -2.21, 17.83)
CIE-LCHlch(12.63, 17.97, 97.07°)
OKLaboklab(24.61% -0.0087 0.0476)
OKLCHoklch(24.61% 0.048 100.4)
XYZxyz(1.3542, 1.5042, 0.2764)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262102 #020726
analogous
#260F02 #262102 #192602
triadic
#262102 #022621 #210226
tetradic
#262102 #02260F #020726 #260219
square
#262102 #02260F #020726 #260219
split-complementary
#262102 #021926 #0F0226
monochromatic
#1D1902 #1D1902 #262102 #605305 #9A8608

Accessibility & contrast

On white

16.14
#262102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#262102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262102
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262102#FFFFFF#000000##FFFFFF
##2621021.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252000
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#2A1E1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #262102;
/* rgb */ color: rgb(38, 33, 2);
/* oklch */ color: oklch(24.6% 0.048 100.4);
Tailwind
colors: {
  custom: {
    50: '#615c47',
    500: '#262102',
    950: '#000000',
  },
}
SCSS
$custom: #262102;
$custom-light: #615c47;
$custom-dark: #000000;
JSON
{
  "hex": "#262102",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 51.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24611,
    "c": 0.04836,
    "h": 100.4
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#262102
secondary
#18246B
accent
#47FF29
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #262102

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

Preview Lab → · Contrast checker → · Palette generator →

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