#2A2608#2A2608

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

Color values

HEX#2A2608
RGBrgb(42, 38, 8)
HSLhsl(53, 68%, 10%)
HSVhsv(53, 81%, 16%)
CMYKcmyk(0%, 9.5%, 81%, 83.5%)
CIE-LABlab(14.93, -2.78, 18.50)
CIE-LCHlch(14.93, 18.71, 98.54°)
OKLaboklab(26.57% -0.0094 0.0451)
OKLCHoklch(26.57% 0.046 101.7)
XYZxyz(1.6919, 1.8961, 0.5065)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2608 #080C2A
analogous
#2A1508 #2A2608 #1D2A08
triadic
#2A2608 #082A26 #26082A
tetradic
#2A2608 #082A15 #080C2A #2A081D
square
#2A2608 #082A15 #080C2A #2A081D
split-complementary
#2A2608 #081D2A #15082A
monochromatic
#1A1705 #1A1705 #2A2608 #5D5512 #91831C

Accessibility & contrast

On white

15.23
#2A2608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2608
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2608#FFFFFF#000000##FFFFFF
##2A26081.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2608;
/* rgb */ color: rgb(42, 38, 8);
/* oklch */ color: oklch(26.6% 0.046 101.7);
Tailwind
colors: {
  custom: {
    50: '#64604a',
    500: '#2a2608',
    950: '#000000',
  },
}
SCSS
$custom: #2a2608;
$custom-light: #64604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2608",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 8
  },
  "hsl": {
    "h": 52.941,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26571,
    "c": 0.04608,
    "h": 101.7
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#2A2608
secondary
#252D69
accent
#51EB3D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A2608

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

Preview Lab → · Contrast checker → · Palette generator →

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