#B5A653#B5A653

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

Color values

HEX#B5A653
RGBrgb(181, 166, 83)
HSLhsl(51, 40%, 52%)
HSVhsv(51, 54%, 71%)
CMYKcmyk(0%, 8.3%, 54.1%, 29%)
CIE-LABlab(67.82, -5.45, 44.39)
CIE-LCHlch(67.82, 44.72, 97.00°)
OKLaboklab(72.07% -0.017 0.1043)
OKLCHoklch(72.07% 0.106 99.2)
XYZxyz(34.2548, 37.7221, 13.6587)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A653 #5362B5
analogous
#B57553 #B5A653 #93B553
triadic
#B5A653 #53B5A6 #A653B5
tetradic
#B5A653 #53B575 #5362B5 #B55393
square
#B5A653 #53B575 #5362B5 #B55393
split-complementary
#B5A653 #5393B5 #7553B5
monochromatic
#635A2B #8E813D #B5A653 #C7BC7E #DAD2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A653#FFFFFF#000000##000000
##B5A6531.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)
#B4A24B
Deuteranopia (green-blind)
#B8A857
Tritanopia (blue-blind)
#C19C93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a653;
/* rgb */ color: rgb(181, 166, 83);
/* oklch */ color: oklch(72.1% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#cdc086',
    500: '#b5a653',
    950: '#000000',
  },
}
SCSS
$custom: #b5a653;
$custom-light: #cdc086;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a653",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 83
  },
  "hsl": {
    "h": 50.816,
    "s": 39.837,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72068,
    "c": 0.10571,
    "h": 99.2
  },
  "luminance": 0.37721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5A653

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

Preview Lab → · Contrast checker → · Palette generator →

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