#2A260D#2A260D

#2A260D is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.040 H 100.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#2A260D
RGBrgb(42, 38, 13)
HSLhsl(52, 53%, 11%)
HSVhsv(52, 69%, 16%)
CMYKcmyk(0%, 9.5%, 69%, 83.5%)
CIE-LABlab(14.99, -2.31, 16.44)
CIE-LCHlch(14.99, 16.60, 98.00°)
OKLaboklab(26.64% -0.0072 0.0397)
OKLCHoklch(26.64% 0.04 100.3)
XYZxyz(1.7207, 1.9076, 0.6583)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A260D #0D112A
analogous
#2A170D #2A260D #1F2A0D
triadic
#2A260D #0D2A26 #260D2A
tetradic
#2A260D #0D2A17 #0D112A #2A0D1F
square
#2A260D #0D2A17 #0D112A #2A0D1F
split-complementary
#2A260D #0D1F2A #170D2A
monochromatic
#171507 #171507 #2A260D #59501B #877B2A

Accessibility & contrast

On white

15.20
#2A260D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A260D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A260D
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A260D#FFFFFF#000000##FFFFFF
##2A260D1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250B
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#2E2320
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a260d;
/* rgb */ color: rgb(42, 38, 13);
/* oklch */ color: oklch(26.6% 0.040 100.3);
Tailwind
colors: {
  custom: {
    50: '#64604d',
    500: '#2a260d',
    950: '#000000',
  },
}
SCSS
$custom: #2a260d;
$custom-light: #64604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a260d",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 13
  },
  "hsl": {
    "h": 51.724,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2664,
    "c": 0.0404,
    "h": 100.3
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#2A260D
secondary
#2E3664
accent
#60DC4C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A260D

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

Preview Lab → · Contrast checker → · Palette generator →

#2A260D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva