#2A280C#2A280C

#2A280C is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.044 H 105.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#2A280C
RGBrgb(42, 40, 12)
HSLhsl(56, 56%, 11%)
HSVhsv(56, 71%, 16%)
CMYKcmyk(0%, 4.8%, 71.4%, 83.5%)
CIE-LABlab(15.68, -3.76, 17.77)
CIE-LCHlch(15.68, 18.17, 101.94°)
OKLaboklab(27.18% -0.0115 0.0426)
OKLCHoklch(27.18% 0.044 105.2)
XYZxyz(1.7801, 2.0364, 0.6471)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A280C #0C0E2A
analogous
#2A190C #2A280C #1D2A0C
triadic
#2A280C #0C2A28 #280C2A
tetradic
#2A280C #0C2A19 #0C0E2A #2A0C1D
square
#2A280C #0C2A19 #0C0E2A #2A0C1D
split-complementary
#2A280C #0C1D2A #190C2A
monochromatic
#181707 #181707 #2A280C #5A551A #898327

Accessibility & contrast

On white

14.92
#2A280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A280C
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A280C#FFFFFF#000000##FFFFFF
##2A280C1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2609
Deuteranopia (green-blind)
#2D280D
Tritanopia (blue-blind)
#2E2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a280c;
/* rgb */ color: rgb(42, 40, 12);
/* oklch */ color: oklch(27.2% 0.044 105.2);
Tailwind
colors: {
  custom: {
    50: '#64614c',
    500: '#2a280c',
    950: '#000000',
  },
}
SCSS
$custom: #2a280c;
$custom-light: #64614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a280c",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 56,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27178,
    "c": 0.0441,
    "h": 105.2
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#2A280C
secondary
#2D3065
accent
#53DF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A280C

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

Preview Lab → · Contrast checker → · Palette generator →

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