#B4A652#B4A652

#B4A652 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.107 H 100.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B4A652
RGBrgb(180, 166, 82)
HSLhsl(51, 40%, 51%)
HSVhsv(51, 54%, 71%)
CMYKcmyk(0%, 7.8%, 54.4%, 29.4%)
CIE-LABlab(67.71, -5.96, 44.74)
CIE-LCHlch(67.71, 45.14, 97.59°)
OKLaboklab(71.96% -0.0185 0.105)
OKLCHoklch(71.96% 0.107 100)
XYZxyz(33.9827, 37.5862, 13.4458)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A652 #5260B4
analogous
#B47552 #B4A652 #91B452
triadic
#B4A652 #52B4A6 #A652B4
tetradic
#B4A652 #52B475 #5260B4 #B45291
square
#B4A652 #52B475 #5260B4 #B45291
split-complementary
#B4A652 #5291B4 #7552B4
monochromatic
#615A2A #8C813D #B4A652 #C7BC7D #D9D2A7

Accessibility & contrast

On white

2.47
#B4A652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B4A652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A652
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A652#FFFFFF#000000##000000
##B4A6521.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B8A756
Tritanopia (blue-blind)
#C09C93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a652;
/* rgb */ color: rgb(180, 166, 82);
/* oklch */ color: oklch(72.0% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#cdc085',
    500: '#b4a652',
    950: '#000000',
  },
}
SCSS
$custom: #b4a652;
$custom-light: #cdc085;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a652",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 51.429,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71963,
    "c": 0.10664,
    "h": 100
  },
  "luminance": 0.37585
}

Semantic roles & 50–950 ramp

primary
#B4A652
secondary
#9BA1C7
accent
#69CF58
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4A652

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

Preview Lab → · Contrast checker → · Palette generator →

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