#2A280E#2A280E

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

Color values

HEX#2A280E
RGBrgb(42, 40, 14)
HSLhsl(56, 50%, 11%)
HSVhsv(56, 67%, 16%)
CMYKcmyk(0%, 4.8%, 66.7%, 83.5%)
CIE-LABlab(15.70, -3.55, 16.85)
CIE-LCHlch(15.70, 17.22, 101.91°)
OKLaboklab(27.21% -0.0107 0.0403)
OKLCHoklch(27.21% 0.042 104.8)
XYZxyz(1.7930, 2.0416, 0.7150)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A280E #0E102A
analogous
#2A1A0E #2A280E #1E2A0E
triadic
#2A280E #0E2A28 #280E2A
tetradic
#2A280E #0E2A1A #0E102A #2A0E1E
square
#2A280E #0E2A1A #0E102A #2A0E1E
split-complementary
#2A280E #0E1E2A #1A0E2A
monochromatic
#171608 #171608 #2A280E #58541D #867F2D

Accessibility & contrast

On white

14.91
#2A280E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A280E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A280E#FFFFFF#000000##FFFFFF
##2A280E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260B
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#2D2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a280e;
/* rgb */ color: rgb(42, 40, 14);
/* oklch */ color: oklch(27.2% 0.042 104.8);
Tailwind
colors: {
  custom: {
    50: '#64614d',
    500: '#2a280e',
    950: '#000000',
  },
}
SCSS
$custom: #2a280e;
$custom-light: #64614d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a280e",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 14
  },
  "hsl": {
    "h": 55.714,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27208,
    "c": 0.04171,
    "h": 104.8
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#2A280E
secondary
#303464
accent
#58DA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A280E

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

Preview Lab → · Contrast checker → · Palette generator →

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