#B48E1C#B48E1C

#B48E1C is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.4% C 0.128 H 88.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B48E1C
RGBrgb(180, 142, 28)
HSLhsl(45, 73%, 41%)
HSVhsv(45, 84%, 71%)
CMYKcmyk(0%, 21.1%, 84.4%, 29.4%)
CIE-LABlab(60.90, 4.00, 59.98)
CIE-LCHlch(60.90, 60.11, 86.18°)
OKLaboklab(66.44% 0.004 0.1283)
OKLCHoklch(66.44% 0.128 88.2)
XYZxyz(28.7068, 29.1351, 5.2101)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48E1C #1C42B4
analogous
#B4421C #B48E1C #8EB41C
triadic
#B48E1C #1CB48E #8E1CB4
tetradic
#B48E1C #1CB442 #1C42B4 #B41C8E
square
#B48E1C #1CB442 #1C42B4 #B41C8E
split-complementary
#B48E1C #1C8EB4 #421CB4
monochromatic
#4A3A0C #7F6414 #B48E1C #DFB32F #E7C664

Accessibility & contrast

On white

3.08
#B48E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B48E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B48E1C
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48E1C#FFFFFF#000000##000000
##B48E1C1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A99724
Tritanopia (blue-blind)
#C48179
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b48e1c;
/* rgb */ color: rgb(180, 142, 28);
/* oklch */ color: oklch(66.4% 0.128 88.2);
Tailwind
colors: {
  custom: {
    50: '#cfae65',
    500: '#b48e1c',
    950: '#000000',
  },
}
SCSS
$custom: #b48e1c;
$custom-light: #cfae65;
$custom-dark: #000000;
JSON
{
  "hex": "#b48e1c",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 45,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66445,
    "c": 0.12834,
    "h": 88.2
  },
  "luminance": 0.29133
}

Semantic roles & 50–950 ramp

primary
#B48E1C
secondary
#607BCC
accent
#66F038
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48E1C

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

Preview Lab → · Contrast checker → · Palette generator →

#B48E1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva