#262A01#262A01

#262A01 is a dark, moderate yellow. Relative luminance 0.021; OKLCH L 27.2% C 0.060 H 115.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#262A01
RGBrgb(38, 42, 1)
HSLhsl(66, 95%, 8%)
HSVhsv(66, 98%, 16%)
CMYKcmyk(9.5%, 0%, 97.6%, 83.5%)
CIE-LABlab(15.85, -8.28, 22.43)
CIE-LCHlch(15.85, 23.91, 110.25°)
OKLaboklab(27.18% -0.0258 0.0547)
OKLCHoklch(27.18% 0.06 115.2)
XYZxyz(1.6328, 2.0702, 0.3423)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A01 #05012A
analogous
#2A1901 #262A01 #112A01
triadic
#262A01 #01262A #2A0126
tetradic
#262A01 #012A19 #05012A #2A0111
square
#262A01 #012A19 #05012A #2A0111
split-complementary
#262A01 #01112A #19012A
monochromatic
#1B1E01 #1B1E01 #262A01 #5C6602 #92A204

Accessibility & contrast

On white

14.85
#262A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#262A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A01
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A01#FFFFFF#000000##FFFFFF
##262A011.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#292722
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #262a01;
/* rgb */ color: rgb(38, 42, 1);
/* oklch */ color: oklch(27.2% 0.060 115.2);
Tailwind
colors: {
  custom: {
    50: '#616347',
    500: '#262a01',
    950: '#000000',
  },
}
SCSS
$custom: #262a01;
$custom-light: #616347;
$custom-dark: #000000;
JSON
{
  "hex": "#262a01",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 65.854,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.27176,
    "c": 0.06042,
    "h": 115.2
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#262A01
secondary
#1F1670
accent
#29FF3E
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #262A01

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

Preview Lab → · Contrast checker → · Palette generator →

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