#262A05#262A05

#262A05 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.2% C 0.056 H 115.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#262A05
RGBrgb(38, 42, 5)
HSLhsl(66, 79%, 9%)
HSVhsv(66, 88%, 16%)
CMYKcmyk(9.5%, 0%, 88.1%, 83.5%)
CIE-LABlab(15.90, -7.90, 20.86)
CIE-LCHlch(15.90, 22.31, 110.73°)
OKLaboklab(27.23% -0.0239 0.0503)
OKLCHoklch(27.23% 0.056 115.5)
XYZxyz(1.6547, 2.0790, 0.4577)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A05 #09052A
analogous
#2A1C05 #262A05 #142A05
triadic
#262A05 #05262A #2A0526
tetradic
#262A05 #052A1C #09052A #2A0514
square
#262A05 #052A1C #09052A #2A0514
split-complementary
#262A05 #05142A #1C052A
monochromatic
#191B03 #191B03 #262A05 #57610C #899712

Accessibility & contrast

On white

14.83
#262A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#262A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A05
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A05#FFFFFF#000000##FFFFFF
##262A051.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2701
Deuteranopia (green-blind)
#2D2807
Tritanopia (blue-blind)
#292723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a05;
/* rgb */ color: rgb(38, 42, 5);
/* oklch */ color: oklch(27.2% 0.056 115.5);
Tailwind
colors: {
  custom: {
    50: '#616349',
    500: '#262a05',
    950: '#000000',
  },
}
SCSS
$custom: #262a05;
$custom-light: #616349;
$custom-dark: #000000;
JSON
{
  "hex": "#262a05",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 66.486,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27226,
    "c": 0.05569,
    "h": 115.5
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#262A05
secondary
#271F6C
accent
#33F548
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262A05

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

Preview Lab → · Contrast checker → · Palette generator →

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