#B4A545#B4A545

#B4A545 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.118 H 100.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B4A545
RGBrgb(180, 165, 69)
HSLhsl(52, 45%, 49%)
HSVhsv(52, 62%, 71%)
CMYKcmyk(0%, 8.3%, 61.7%, 29.4%)
CIE-LABlab(67.31, -6.43, 50.43)
CIE-LCHlch(67.31, 50.84, 97.26°)
OKLaboklab(71.6% -0.0214 0.1156)
OKLCHoklch(71.6% 0.118 100.5)
XYZxyz(33.3530, 37.0446, 11.0225)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A545 #4554B4
analogous
#B46E45 #B4A545 #8CB445
triadic
#B4A545 #45B4A5 #A545B4
tetradic
#B4A545 #45B46E #4554B4 #B4458C
square
#B4A545 #45B46E #4554B4 #B4458C
split-complementary
#B4A545 #458CB4 #6E45B4
monochromatic
#5C5423 #887C34 #B4A545 #C8BC6F #D9D09B

Accessibility & contrast

On white

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

On black

8.41
#B4A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A545
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A545#FFFFFF#000000##000000
##B4A5451.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13A
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#C19A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a545;
/* rgb */ color: rgb(180, 165, 69);
/* oklch */ color: oklch(71.6% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#cdbf7d',
    500: '#b4a545',
    950: '#000000',
  },
}
SCSS
$custom: #b4a545;
$custom-light: #cdbf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a545",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 51.892,
    "s": 44.578,
    "l": 48.824
  },
  "oklch": {
    "l": 0.716,
    "c": 0.1176,
    "h": 100.5
  },
  "luminance": 0.37043
}

Semantic roles & 50–950 ramp

primary
#B4A545
secondary
#9097C5
accent
#65D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4A545

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

Preview Lab → · Contrast checker → · Palette generator →

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