#262C06#262C06

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

Color values

HEX#262C06
RGBrgb(38, 44, 6)
HSLhsl(69, 76%, 10%)
HSVhsv(69, 86%, 17%)
CMYKcmyk(13.6%, 0%, 86.4%, 82.7%)
CIE-LABlab(16.63, -9.07, 21.37)
CIE-LCHlch(16.63, 23.22, 112.99°)
OKLaboklab(27.82% -0.027 0.0507)
OKLCHoklch(27.82% 0.057 118)
XYZxyz(1.7329, 2.2266, 0.5107)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C06 #0C062C
analogous
#2C1F06 #262C06 #132C06
triadic
#262C06 #06262C #2C0626
tetradic
#262C06 #062C1F #0C062C #2C0613
square
#262C06 #062C1F #0C062C #2C0613
split-complementary
#262C06 #06132C #1F062C
monochromatic
#171B04 #171B04 #262C06 #55620D #839815

Accessibility & contrast

On white

14.53
#262C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#262C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C06
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C06#FFFFFF#000000##FFFFFF
##262C061.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c06;
/* rgb */ color: rgb(38, 44, 6);
/* oklch */ color: oklch(27.8% 0.057 118.0);
Tailwind
colors: {
  custom: {
    50: '#61654a',
    500: '#262c06',
    950: '#000000',
  },
}
SCSS
$custom: #262c06;
$custom-light: #61654a;
$custom-dark: #000000;
JSON
{
  "hex": "#262c06",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 69.474,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27822,
    "c": 0.05749,
    "h": 118
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#262C06
secondary
#2D216D
accent
#35F353
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #262C06

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

Preview Lab → · Contrast checker → · Palette generator →

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