#262C02#262C02

#262C02 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.062 H 117.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#262C02
RGBrgb(38, 44, 2)
HSLhsl(69, 91%, 9%)
HSVhsv(69, 95%, 17%)
CMYKcmyk(13.6%, 0%, 95.5%, 82.7%)
CIE-LABlab(16.59, -9.44, 22.95)
CIE-LCHlch(16.59, 24.81, 112.35°)
OKLaboklab(27.77% -0.0287 0.0549)
OKLCHoklch(27.77% 0.062 117.6)
XYZxyz(1.7110, 2.2178, 0.3954)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C02 #08022C
analogous
#2C1D02 #262C02 #112C02
triadic
#262C02 #02262C #2C0226
tetradic
#262C02 #022C1D #08022C #2C0211
square
#262C02 #022C1D #08022C #2C0211
split-complementary
#262C02 #02112C #1D022C
monochromatic
#191D01 #191D01 #262C02 #596705 #8BA107

Accessibility & contrast

On white

14.55
#262C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C02
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C02#FFFFFF#000000##FFFFFF
##262C021.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c02;
/* rgb */ color: rgb(38, 44, 2);
/* oklch */ color: oklch(27.8% 0.062 117.6);
Tailwind
colors: {
  custom: {
    50: '#616548',
    500: '#262c02',
    950: '#000000',
  },
}
SCSS
$custom: #262c02;
$custom-light: #616548;
$custom-dark: #000000;
JSON
{
  "hex": "#262c02",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 68.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.06193,
    "h": 117.6
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#262C02
secondary
#251971
accent
#29FF47
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #262C02

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

Preview Lab → · Contrast checker → · Palette generator →

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