#B5A632#B5A632

#B5A632 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.133 H 101.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B5A632
RGBrgb(181, 166, 50)
HSLhsl(53, 57%, 45%)
HSVhsv(53, 72%, 71%)
CMYKcmyk(0%, 8.3%, 72.4%, 29%)
CIE-LABlab(67.52, -7.63, 58.63)
CIE-LCHlch(67.52, 59.12, 97.42°)
OKLaboklab(71.74% -0.027 0.1299)
OKLCHoklch(71.74% 0.133 101.8)
XYZxyz(33.2695, 37.3279, 8.4696)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A632 #3241B5
analogous
#B56532 #B5A632 #82B532
triadic
#B5A632 #32B5A6 #A632B5
tetradic
#B5A632 #32B565 #3241B5 #B53282
square
#B5A632 #32B565 #3241B5 #B53282
split-complementary
#B5A632 #3282B5 #6532B5
monochromatic
#554E18 #857A25 #B5A632 #D0C254 #DDD384

Accessibility & contrast

On white

2.48
#B5A632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B5A632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A632
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A632#FFFFFF#000000##000000
##B5A6321.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11F
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C39A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a632;
/* rgb */ color: rgb(181, 166, 50);
/* oklch */ color: oklch(71.7% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#cfc072',
    500: '#b5a632',
    950: '#000000',
  },
}
SCSS
$custom: #b5a632;
$custom-light: #cfc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a632",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 50
  },
  "hsl": {
    "h": 53.13,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71742,
    "c": 0.13263,
    "h": 101.8
  },
  "luminance": 0.37326
}

Semantic roles & 50–950 ramp

primary
#B5A632
secondary
#7C85C7
accent
#59E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A632

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

Preview Lab → · Contrast checker → · Palette generator →

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