#2A260C#2A260C

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

Color values

HEX#2A260C
RGBrgb(42, 38, 12)
HSLhsl(52, 56%, 11%)
HSVhsv(52, 71%, 16%)
CMYKcmyk(0%, 9.5%, 71.4%, 83.5%)
CIE-LABlab(14.98, -2.41, 16.89)
CIE-LCHlch(14.98, 17.06, 98.13°)
OKLaboklab(26.63% -0.0077 0.0409)
OKLCHoklch(26.63% 0.042 100.7)
XYZxyz(1.7144, 1.9051, 0.6252)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A260C #0C102A
analogous
#2A170C #2A260C #1F2A0C
triadic
#2A260C #0C2A26 #260C2A
tetradic
#2A260C #0C2A17 #0C102A #2A0C1F
square
#2A260C #0C2A17 #0C102A #2A0C1F
split-complementary
#2A260C #0C1F2A #170C2A
monochromatic
#181607 #181607 #2A260C #5A511A #897C27

Accessibility & contrast

On white

15.21
#2A260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A260C
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A260C#FFFFFF#000000##FFFFFF
##2A260C1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a260c;
/* rgb */ color: rgb(42, 38, 12);
/* oklch */ color: oklch(26.6% 0.042 100.7);
Tailwind
colors: {
  custom: {
    50: '#64604c',
    500: '#2a260c',
    950: '#000000',
  },
}
SCSS
$custom: #2a260c;
$custom-light: #64604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a260c",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 52,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26625,
    "c": 0.0416,
    "h": 100.7
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#2A260C
secondary
#2D3465
accent
#5DDF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A260C

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

Preview Lab → · Contrast checker → · Palette generator →

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