#262A06#262A06

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

Color values

HEX#262A06
RGBrgb(38, 42, 6)
HSLhsl(67, 75%, 9%)
HSVhsv(67, 86%, 16%)
CMYKcmyk(9.5%, 0%, 85.7%, 83.5%)
CIE-LABlab(15.91, -7.80, 20.47)
CIE-LCHlch(15.91, 21.91, 110.87°)
OKLaboklab(27.24% -0.0235 0.0492)
OKLCHoklch(27.24% 0.055 115.5)
XYZxyz(1.6602, 2.0812, 0.4865)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A06 #0A062A
analogous
#2A1C06 #262A06 #142A06
triadic
#262A06 #06262A #2A0626
tetradic
#262A06 #062A1C #0A062A #2A0614
square
#262A06 #062A1C #0A062A #2A0614
split-complementary
#262A06 #06142A #1C062A
monochromatic
#181B04 #181B04 #262A06 #56600E #879515

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262A06#FFFFFF#000000##FFFFFF
##262A061.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)
#2E2702
Deuteranopia (green-blind)
#2D2808
Tritanopia (blue-blind)
#292723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a06;
/* rgb */ color: rgb(38, 42, 6);
/* oklch */ color: oklch(27.2% 0.055 115.5);
Tailwind
colors: {
  custom: {
    50: '#616349',
    500: '#262a06',
    950: '#000000',
  },
}
SCSS
$custom: #262a06;
$custom-light: #616349;
$custom-dark: #000000;
JSON
{
  "hex": "#262a06",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 66.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27239,
    "c": 0.05456,
    "h": 115.5
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#262A06
secondary
#29216B
accent
#36F24B
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262A06

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

Preview Lab → · Contrast checker → · Palette generator →

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