#B5A652#B5A652

#B5A652 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.107 H 99.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B5A652
RGBrgb(181, 166, 82)
HSLhsl(51, 40%, 52%)
HSVhsv(51, 55%, 71%)
CMYKcmyk(0%, 8.3%, 54.7%, 29%)
CIE-LABlab(67.80, -5.54, 44.87)
CIE-LCHlch(67.80, 45.21, 97.03°)
OKLaboklab(72.06% -0.0173 0.1053)
OKLCHoklch(72.06% 0.107 99.4)
XYZxyz(34.2164, 37.7067, 13.4568)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A652 #5261B5
analogous
#B57552 #B5A652 #93B552
triadic
#B5A652 #52B5A6 #A652B5
tetradic
#B5A652 #52B575 #5261B5 #B55293
square
#B5A652 #52B575 #5261B5 #B55293
split-complementary
#B5A652 #5293B5 #7552B5
monochromatic
#625A2A #8D813C #B5A652 #C7BC7D #DAD2A8

Accessibility & contrast

On white

2.46
#B5A652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B5A652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A652
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A652#FFFFFF#000000##000000
##B5A6521.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5a652;
/* rgb */ color: rgb(181, 166, 82);
/* oklch */ color: oklch(72.1% 0.107 99.4);
Tailwind
colors: {
  custom: {
    50: '#cdc085',
    500: '#b5a652',
    950: '#000000',
  },
}
SCSS
$custom: #b5a652;
$custom-light: #cdc085;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a652",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 50.909,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72056,
    "c": 0.10669,
    "h": 99.4
  },
  "luminance": 0.37705
}

Semantic roles & 50–950 ramp

primary
#B5A652
secondary
#9CA2C7
accent
#6AD058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5A652

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

Preview Lab → · Contrast checker → · Palette generator →

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