#2A260E#2A260E

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

Color values

HEX#2A260E
RGBrgb(42, 38, 14)
HSLhsl(51, 50%, 11%)
HSVhsv(51, 67%, 16%)
CMYKcmyk(0%, 9.5%, 66.7%, 83.5%)
CIE-LABlab(15.01, -2.20, 15.96)
CIE-LCHlch(15.01, 16.11, 97.86°)
OKLaboklab(26.66% -0.0068 0.0386)
OKLCHoklch(26.66% 0.039 100)
XYZxyz(1.7273, 1.9102, 0.6931)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A260E #0E122A
analogous
#2A180E #2A260E #202A0E
triadic
#2A260E #0E2A26 #260E2A
tetradic
#2A260E #0E2A18 #0E122A #2A0E20
square
#2A260E #0E2A18 #0E122A #2A0E20
split-complementary
#2A260E #0E202A #180E2A
monochromatic
#171508 #171508 #2A260E #58501D #86792D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A260E#FFFFFF#000000##FFFFFF
##2A260E1.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)
#2A250C
Deuteranopia (green-blind)
#2B260F
Tritanopia (blue-blind)
#2E2321
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a260e;
/* rgb */ color: rgb(42, 38, 14);
/* oklch */ color: oklch(26.7% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#64604d',
    500: '#2a260e',
    950: '#000000',
  },
}
SCSS
$custom: #2a260e;
$custom-light: #64604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a260e",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 14
  },
  "hsl": {
    "h": 51.429,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26656,
    "c": 0.03915,
    "h": 100
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#2A260E
secondary
#303764
accent
#62DA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A260E

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

Preview Lab → · Contrast checker → · Palette generator →

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