#262B04#262B04

#262B04 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.058 H 116.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#262B04
RGBrgb(38, 43, 4)
HSLhsl(68, 83%, 9%)
HSVhsv(68, 91%, 17%)
CMYKcmyk(11.6%, 0%, 90.7%, 83.1%)
CIE-LABlab(16.25, -8.62, 21.71)
CIE-LCHlch(16.25, 23.36, 111.66°)
OKLaboklab(27.51% -0.0261 0.0521)
OKLCHoklch(27.51% 0.058 116.7)
XYZxyz(1.6852, 2.1486, 0.4408)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B04 #09042B
analogous
#2B1D04 #262B04 #132B04
triadic
#262B04 #04262B #2B0426
tetradic
#262B04 #042B1D #09042B #2B0413
square
#262B04 #042B1D #09042B #2B0413
split-complementary
#262B04 #04132B #1D042B
monochromatic
#191C03 #191C03 #262B04 #576309 #899B0E

Accessibility & contrast

On white

14.69
#262B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B04
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B04#FFFFFF#000000##FFFFFF
##262B041.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b04;
/* rgb */ color: rgb(38, 43, 4);
/* oklch */ color: oklch(27.5% 0.058 116.7);
Tailwind
colors: {
  custom: {
    50: '#616448',
    500: '#262b04',
    950: '#000000',
  },
}
SCSS
$custom: #262b04;
$custom-light: #616448;
$custom-dark: #000000;
JSON
{
  "hex": "#262b04",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 67.692,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27506,
    "c": 0.05825,
    "h": 116.7
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#262B04
secondary
#271D6E
accent
#2EF948
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #262B04

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

Preview Lab → · Contrast checker → · Palette generator →

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