#B4A548#B4A548

#B4A548 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.115 H 100.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B4A548
RGBrgb(180, 165, 72)
HSLhsl(52, 43%, 49%)
HSVhsv(52, 60%, 71%)
CMYKcmyk(0%, 8.3%, 60%, 29.4%)
CIE-LABlab(67.34, -6.21, 49.08)
CIE-LCHlch(67.34, 49.47, 97.22°)
OKLaboklab(71.63% -0.0204 0.1132)
OKLCHoklch(71.63% 0.115 100.2)
XYZxyz(33.4485, 37.0828, 11.5254)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A548 #4857B4
analogous
#B46F48 #B4A548 #8DB448
triadic
#B4A548 #48B4A5 #A548B4
tetradic
#B4A548 #48B46F #4857B4 #B4488D
square
#B4A548 #48B46F #4857B4 #B4488D
split-complementary
#B4A548 #488DB4 #6F48B4
monochromatic
#5D5525 #887D37 #B4A548 #C7BB72 #D8D09E

Accessibility & contrast

On white

2.50
#B4A548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B4A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A548
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A548#FFFFFF#000000##000000
##B4A5481.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13E
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#C19A91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a548;
/* rgb */ color: rgb(180, 165, 72);
/* oklch */ color: oklch(71.6% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#cdbf7e',
    500: '#b4a548',
    950: '#000000',
  },
}
SCSS
$custom: #b4a548;
$custom-light: #cdbf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a548",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 51.667,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71632,
    "c": 0.115,
    "h": 100.2
  },
  "luminance": 0.37081
}

Semantic roles & 50–950 ramp

primary
#B4A548
secondary
#939AC5
accent
#67D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4A548

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

Preview Lab → · Contrast checker → · Palette generator →

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