#262C01#262C01

#262C01 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.063 H 117.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#262C01
RGBrgb(38, 44, 1)
HSLhsl(68, 96%, 9%)
HSVhsv(68, 98%, 17%)
CMYKcmyk(13.6%, 0%, 97.7%, 82.7%)
CIE-LABlab(16.58, -9.53, 23.34)
CIE-LCHlch(16.58, 25.22, 112.21°)
OKLaboklab(27.76% -0.0292 0.0559)
OKLCHoklch(27.76% 0.063 117.6)
XYZxyz(1.7055, 2.2156, 0.3665)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C01 #07012C
analogous
#2C1D01 #262C01 #112C01
triadic
#262C01 #01262C #2C0126
tetradic
#262C01 #012C1D #07012C #2C0111
square
#262C01 #012C1D #07012C #2C0111
split-complementary
#262C01 #01112C #1D012C
monochromatic
#1A1E01 #1A1E01 #262C01 #5A6802 #8DA404

Accessibility & contrast

On white

14.55
#262C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#262C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C01
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C01#FFFFFF#000000##FFFFFF
##262C011.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#292924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262c01;
/* rgb */ color: rgb(38, 44, 1);
/* oklch */ color: oklch(27.8% 0.063 117.6);
Tailwind
colors: {
  custom: {
    50: '#616547',
    500: '#262c01',
    950: '#000000',
  },
}
SCSS
$custom: #262c01;
$custom-light: #616547;
$custom-dark: #000000;
JSON
{
  "hex": "#262c01",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 68.372,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.0631,
    "h": 117.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#262C01
secondary
#231772
accent
#29FF47
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #262C01

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

Preview Lab → · Contrast checker → · Palette generator →

#262C01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva