#262A02#262A02

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

Color values

HEX#262A02
RGBrgb(38, 42, 2)
HSLhsl(66, 91%, 9%)
HSVhsv(66, 95%, 16%)
CMYKcmyk(9.5%, 0%, 95.2%, 83.5%)
CIE-LABlab(15.86, -8.18, 22.04)
CIE-LCHlch(15.86, 23.51, 110.36°)
OKLaboklab(27.19% -0.0253 0.0535)
OKLCHoklch(27.19% 0.059 115.3)
XYZxyz(1.6383, 2.0724, 0.3711)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A02 #06022A
analogous
#2A1A02 #262A02 #122A02
triadic
#262A02 #02262A #2A0226
tetradic
#262A02 #022A1A #06022A #2A0212
square
#262A02 #022A1A #06022A #2A0212
split-complementary
#262A02 #02122A #1A022A
monochromatic
#1A1D01 #1A1D01 #262A02 #5B6405 #909F08

Accessibility & contrast

On white

14.85
#262A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#262A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A02
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A02#FFFFFF#000000##FFFFFF
##262A021.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#292722
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #262a02;
/* rgb */ color: rgb(38, 42, 2);
/* oklch */ color: oklch(27.2% 0.059 115.3);
Tailwind
colors: {
  custom: {
    50: '#616347',
    500: '#262a02',
    950: '#000000',
  },
}
SCSS
$custom: #262a02;
$custom-light: #616347;
$custom-dark: #000000;
JSON
{
  "hex": "#262a02",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 66,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27189,
    "c": 0.0592,
    "h": 115.3
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#262A02
secondary
#21196F
accent
#29FF3E
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #262A02

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

Preview Lab → · Contrast checker → · Palette generator →

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