#2A280B#2A280B

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

Color values

HEX#2A280B
RGBrgb(42, 40, 11)
HSLhsl(56, 58%, 10%)
HSVhsv(56, 74%, 16%)
CMYKcmyk(0%, 4.8%, 73.8%, 83.5%)
CIE-LABlab(15.66, -3.85, 18.20)
CIE-LCHlch(15.66, 18.60, 101.95°)
OKLaboklab(27.16% -0.012 0.0436)
OKLCHoklch(27.16% 0.045 105.3)
XYZxyz(1.7741, 2.0340, 0.6157)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A280B #0B0D2A
analogous
#2A180B #2A280B #1C2A0B
triadic
#2A280B #0B2A28 #280B2A
tetradic
#2A280B #0B2A18 #0B0D2A #2A0B1C
square
#2A280B #0B2A18 #0B0D2A #2A0B1C
split-complementary
#2A280B #0B1C2A #180B2A
monochromatic
#181706 #181706 #2A280B #5A5618 #8B8424

Accessibility & contrast

On white

14.93
#2A280B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A280B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A280B#FFFFFF#000000##FFFFFF
##2A280B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a280b;
/* rgb */ color: rgb(42, 40, 11);
/* oklch */ color: oklch(27.2% 0.045 105.3);
Tailwind
colors: {
  custom: {
    50: '#64614c',
    500: '#2a280b',
    950: '#000000',
  },
}
SCSS
$custom: #2a280b;
$custom-light: #64614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a280b",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 56.129,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27164,
    "c": 0.04523,
    "h": 105.3
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#2A280B
secondary
#2B2F66
accent
#50E246
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A280B

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

Preview Lab → · Contrast checker → · Palette generator →

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