#262B01#262B01

#262B01 is a dark, moderate yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.062 H 116.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#262B01
RGBrgb(38, 43, 1)
HSLhsl(67, 95%, 9%)
HSVhsv(67, 98%, 17%)
CMYKcmyk(11.6%, 0%, 97.7%, 83.1%)
CIE-LABlab(16.22, -8.91, 22.89)
CIE-LCHlch(16.22, 24.56, 111.26°)
OKLaboklab(27.47% -0.0275 0.0553)
OKLCHoklch(27.47% 0.062 116.4)
XYZxyz(1.6687, 2.1420, 0.3543)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B01 #06012B
analogous
#2B1B01 #262B01 #112B01
triadic
#262B01 #01262B #2B0126
tetradic
#262B01 #012B1B #06012B #2B0111
square
#262B01 #012B1B #06012B #2B0111
split-complementary
#262B01 #01112B #1B012B
monochromatic
#1A1E01 #1A1E01 #262B01 #5B6702 #90A304

Accessibility & contrast

On white

14.70
#262B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B01
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B01#FFFFFF#000000##FFFFFF
##262B011.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#292823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262b01;
/* rgb */ color: rgb(38, 43, 1);
/* oklch */ color: oklch(27.5% 0.062 116.4);
Tailwind
colors: {
  custom: {
    50: '#616447',
    500: '#262b01',
    950: '#000000',
  },
}
SCSS
$custom: #262b01;
$custom-light: #616447;
$custom-dark: #000000;
JSON
{
  "hex": "#262b01",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 67.143,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27469,
    "c": 0.06175,
    "h": 116.4
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#262B01
secondary
#211771
accent
#29FF42
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #262B01

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

Preview Lab → · Contrast checker → · Palette generator →

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