#262A0F#262A0F

#262A0F is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.044 H 116.4°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#262A0F
RGBrgb(38, 42, 15)
HSLhsl(69, 47%, 11%)
HSVhsv(69, 64%, 16%)
CMYKcmyk(9.5%, 0%, 64.3%, 83.5%)
CIE-LABlab(16.02, -6.90, 16.64)
CIE-LCHlch(16.02, 18.01, 112.51°)
OKLaboklab(27.36% -0.0197 0.0398)
OKLCHoklch(27.36% 0.044 116.4)
XYZxyz(1.7135, 2.1025, 0.7674)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A0F #130F2A
analogous
#2A200F #262A0F #182A0F
triadic
#262A0F #0F262A #2A0F26
tetradic
#262A0F #0F2A20 #130F2A #2A0F18
square
#262A0F #0F2A20 #130F2A #2A0F18
split-complementary
#262A0F #0F182A #200F2A
monochromatic
#141708 #141708 #262A0F #4F571F #78842F

Accessibility & contrast

On white

14.78
#262A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A0F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A0F#FFFFFF#000000##FFFFFF
##262A0F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#2D2811
Tritanopia (blue-blind)
#292724
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262a0f;
/* rgb */ color: rgb(38, 42, 15);
/* oklch */ color: oklch(27.4% 0.044 116.4);
Tailwind
colors: {
  custom: {
    50: '#61634e',
    500: '#262a0f',
    950: '#000000',
  },
}
SCSS
$custom: #262a0f;
$custom-light: #61634e;
$custom-dark: #000000;
JSON
{
  "hex": "#262a0f",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 68.889,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27361,
    "c": 0.04439,
    "h": 116.4
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#262A0F
secondary
#393263
accent
#51D765
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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