#262C03#262C03

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

Color values

HEX#262C03
RGBrgb(38, 44, 3)
HSLhsl(69, 87%, 9%)
HSVhsv(69, 93%, 17%)
CMYKcmyk(13.6%, 0%, 93.2%, 82.7%)
CIE-LABlab(16.60, -9.34, 22.56)
CIE-LCHlch(16.60, 24.42, 112.50°)
OKLaboklab(27.79% -0.0283 0.0538)
OKLCHoklch(27.79% 0.061 117.7)
XYZxyz(1.7165, 2.2200, 0.4242)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C03 #09032C
analogous
#2C1E03 #262C03 #122C03
triadic
#262C03 #03262C #2C0326
tetradic
#262C03 #032C1E #09032C #2C0312
square
#262C03 #032C1E #09032C #2C0312
split-complementary
#262C03 #03122C #1E032C
monochromatic
#191D02 #191D02 #262C03 #576507 #899F0B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262C03#FFFFFF#000000##FFFFFF
##262C031.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)
#2F2906
Tritanopia (blue-blind)
#292924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262c03;
/* rgb */ color: rgb(38, 44, 3);
/* oklch */ color: oklch(27.8% 0.061 117.7);
Tailwind
colors: {
  custom: {
    50: '#616548',
    500: '#262c03',
    950: '#000000',
  },
}
SCSS
$custom: #262c03;
$custom-light: #616548;
$custom-dark: #000000;
JSON
{
  "hex": "#262c03",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 68.78,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27786,
    "c": 0.0608,
    "h": 117.7
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#262C03
secondary
#271B70
accent
#2AFD49
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #262C03

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

Preview Lab → · Contrast checker → · Palette generator →

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