#2A280F#2A280F

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

Color values

HEX#2A280F
RGBrgb(42, 40, 15)
HSLhsl(56, 47%, 11%)
HSVhsv(56, 64%, 16%)
CMYKcmyk(0%, 4.8%, 64.3%, 83.5%)
CIE-LABlab(15.72, -3.45, 16.35)
CIE-LCHlch(15.72, 16.71, 101.90°)
OKLaboklab(27.22% -0.0102 0.0391)
OKLCHoklch(27.22% 0.04 104.6)
XYZxyz(1.7999, 2.0444, 0.7516)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A280F #0F112A
analogous
#2A1A0F #2A280F #1E2A0F
triadic
#2A280F #0F2A28 #280F2A
tetradic
#2A280F #0F2A1A #0F112A #2A0F1E
square
#2A280F #0F2A1A #0F112A #2A0F1E
split-complementary
#2A280F #0F1E2A #1A0F2A
monochromatic
#171508 #171508 #2A280F #57531F #847E2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A280F#FFFFFF#000000##FFFFFF
##2A280F1.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)
#2C260D
Deuteranopia (green-blind)
#2C2810
Tritanopia (blue-blind)
#2D2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a280f;
/* rgb */ color: rgb(42, 40, 15);
/* oklch */ color: oklch(27.2% 0.040 104.6);
Tailwind
colors: {
  custom: {
    50: '#64614e',
    500: '#2a280f',
    950: '#000000',
  },
}
SCSS
$custom: #2a280f;
$custom-light: #64614e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a280f",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 55.556,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27224,
    "c": 0.04045,
    "h": 104.6
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#2A280F
secondary
#323563
accent
#5BD751
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A280F

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

Preview Lab → · Contrast checker → · Palette generator →

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