#B5A754#B5A754

#B5A754 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.106 H 99.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B5A754
RGBrgb(181, 167, 84)
HSLhsl(51, 40%, 52%)
HSVhsv(51, 54%, 71%)
CMYKcmyk(0%, 7.7%, 53.6%, 29%)
CIE-LABlab(68.10, -5.90, 44.23)
CIE-LCHlch(68.10, 44.62, 97.60°)
OKLaboklab(72.3% -0.0182 0.1041)
OKLCHoklch(72.3% 0.106 99.9)
XYZxyz(34.4761, 38.1026, 13.9243)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A754 #5462B5
analogous
#B57754 #B5A754 #93B554
triadic
#B5A754 #54B5A7 #A754B5
tetradic
#B5A754 #54B577 #5462B5 #B55493
square
#B5A754 #54B577 #5462B5 #B55493
split-complementary
#B5A754 #5493B5 #7754B5
monochromatic
#645B2B #8E833E #B5A754 #C7BD7F #DAD3A9

Accessibility & contrast

On white

2.44
#B5A754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B5A754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A754
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A754#FFFFFF#000000##000000
##B5A7541.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A34C
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#C19D94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b5a754;
/* rgb */ color: rgb(181, 167, 84);
/* oklch */ color: oklch(72.3% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#cdc086',
    500: '#b5a754',
    950: '#000000',
  },
}
SCSS
$custom: #b5a754;
$custom-light: #cdc086;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a754",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 51.34,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.10566,
    "h": 99.9
  },
  "luminance": 0.38101
}

Semantic roles & 50–950 ramp

primary
#B5A754
secondary
#9DA3C8
accent
#6ACF58
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B5A754

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

Preview Lab → · Contrast checker → · Palette generator →

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