#262C04#262C04

#262C04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.060 H 117.8°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#262C04
RGBrgb(38, 44, 4)
HSLhsl(69, 83%, 9%)
HSVhsv(69, 91%, 17%)
CMYKcmyk(13.6%, 0%, 90.9%, 82.7%)
CIE-LABlab(16.61, -9.25, 22.16)
CIE-LCHlch(16.61, 24.01, 112.66°)
OKLaboklab(27.8% -0.0279 0.0528)
OKLCHoklch(27.8% 0.06 117.8)
XYZxyz(1.7220, 2.2222, 0.4531)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C04 #0A042C
analogous
#2C1E04 #262C04 #122C04
triadic
#262C04 #04262C #2C0426
tetradic
#262C04 #042C1E #0A042C #2C0412
square
#262C04 #042C1E #0A042C #2C0412
split-complementary
#262C04 #04122C #1E042C
monochromatic
#181C03 #181C03 #262C04 #566409 #879C0E

Accessibility & contrast

On white

14.54
#262C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C04
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C04#FFFFFF#000000##FFFFFF
##262C041.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c04;
/* rgb */ color: rgb(38, 44, 4);
/* oklch */ color: oklch(27.8% 0.060 117.8);
Tailwind
colors: {
  custom: {
    50: '#616549',
    500: '#262c04',
    950: '#000000',
  },
}
SCSS
$custom: #262c04;
$custom-light: #616549;
$custom-dark: #000000;
JSON
{
  "hex": "#262c04",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 69,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27798,
    "c": 0.05968,
    "h": 117.8
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#262C04
secondary
#291D6F
accent
#2EFA4D
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #262C04

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

Preview Lab → · Contrast checker → · Palette generator →

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