#262A0E#262A0E

#262A0E is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.046 H 116.3°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#262A0E
RGBrgb(38, 42, 14)
HSLhsl(69, 50%, 11%)
HSVhsv(69, 67%, 16%)
CMYKcmyk(9.5%, 0%, 66.7%, 83.5%)
CIE-LABlab(16.00, -7.01, 17.14)
CIE-LCHlch(16.00, 18.52, 112.25°)
OKLaboklab(27.35% -0.0202 0.0409)
OKLCHoklch(27.35% 0.046 116.3)
XYZxyz(1.7066, 2.0997, 0.7308)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A0E #120E2A
analogous
#2A200E #262A0E #182A0E
triadic
#262A0E #0E262A #2A0E26
tetradic
#262A0E #0E2A20 #120E2A #2A0E18
square
#262A0E #0E2A20 #120E2A #2A0E18
split-complementary
#262A0E #0E182A #200E2A
monochromatic
#151708 #151708 #262A0E #50581D #79862D

Accessibility & contrast

On white

14.79
#262A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A0E
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A0E#FFFFFF#000000##FFFFFF
##262A0E1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262a0e;
/* rgb */ color: rgb(38, 42, 14);
/* oklch */ color: oklch(27.3% 0.046 116.3);
Tailwind
colors: {
  custom: {
    50: '#61634d',
    500: '#262a0e',
    950: '#000000',
  },
}
SCSS
$custom: #262a0e;
$custom-light: #61634d;
$custom-dark: #000000;
JSON
{
  "hex": "#262a0e",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 14
  },
  "hsl": {
    "h": 68.571,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27345,
    "c": 0.04563,
    "h": 116.3
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#262A0E
secondary
#373064
accent
#4EDA62
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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