#B4A152#B4A152

#B4A152 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.102 H 96.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B4A152
RGBrgb(180, 161, 82)
HSLhsl(48, 40%, 51%)
HSVhsv(48, 54%, 71%)
CMYKcmyk(0%, 10.6%, 54.4%, 29.4%)
CIE-LABlab(66.37, -3.30, 43.16)
CIE-LCHlch(66.37, 43.29, 94.37°)
OKLaboklab(70.9% -0.0108 0.1016)
OKLCHoklch(70.9% 0.102 96.1)
XYZxyz(33.0914, 35.8036, 13.1487)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A152 #5265B4
analogous
#B47052 #B4A152 #96B452
triadic
#B4A152 #52B4A1 #A152B4
tetradic
#B4A152 #52B470 #5265B4 #B45296
square
#B4A152 #52B470 #5265B4 #B45296
split-complementary
#B4A152 #5296B4 #7052B4
monochromatic
#61572A #8C7D3D #B4A152 #C7B87D #D9CFA7

Accessibility & contrast

On white

2.57
#B4A152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B4A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A152
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A152#FFFFFF#000000##000000
##B4A1521.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#B4A455
Tritanopia (blue-blind)
#C1978F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b4a152;
/* rgb */ color: rgb(180, 161, 82);
/* oklch */ color: oklch(70.9% 0.102 96.1);
Tailwind
colors: {
  custom: {
    50: '#cdbc85',
    500: '#b4a152',
    950: '#000000',
  },
}
SCSS
$custom: #b4a152;
$custom-light: #cdbc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a152",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 48.367,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70898,
    "c": 0.10215,
    "h": 96.1
  },
  "luminance": 0.35802
}

Semantic roles & 50–950 ramp

primary
#B4A152
secondary
#9BA4C7
accent
#6FCF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A152

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

Preview Lab → · Contrast checker → · Palette generator →

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