#2A2808#2A2808

#2A2808 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.048 H 105.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#2A2808
RGBrgb(42, 40, 8)
HSLhsl(56, 68%, 10%)
HSVhsv(56, 81%, 16%)
CMYKcmyk(0%, 4.8%, 81%, 83.5%)
CIE-LABlab(15.63, -4.12, 19.39)
CIE-LCHlch(15.63, 19.82, 102.00°)
OKLaboklab(27.13% -0.0132 0.0467)
OKLCHoklch(27.13% 0.048 105.8)
XYZxyz(1.7575, 2.0274, 0.5284)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2808 #080A2A
analogous
#2A1708 #2A2808 #1B2A08
triadic
#2A2808 #082A28 #28082A
tetradic
#2A2808 #082A17 #080A2A #2A081B
square
#2A2808 #082A17 #080A2A #2A081B
split-complementary
#2A2808 #081B2A #17082A
monochromatic
#1A1805 #1A1805 #2A2808 #5D5912 #918A1C

Accessibility & contrast

On white

14.94
#2A2808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2A2808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2808
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2808#FFFFFF#000000##FFFFFF
##2A28081.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2605
Deuteranopia (green-blind)
#2D280A
Tritanopia (blue-blind)
#2E2521
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a2808;
/* rgb */ color: rgb(42, 40, 8);
/* oklch */ color: oklch(27.1% 0.048 105.8);
Tailwind
colors: {
  custom: {
    50: '#64614a',
    500: '#2a2808',
    950: '#000000',
  },
}
SCSS
$custom: #2a2808;
$custom-light: #64614a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2808",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 56.471,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27126,
    "c": 0.04848,
    "h": 105.8
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#2A2808
secondary
#252969
accent
#47EB3D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2808

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

Preview Lab → · Contrast checker → · Palette generator →

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