#B5A432#B5A432

#B5A432 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.131 H 100.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B5A432
RGBrgb(181, 164, 50)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 9.4%, 72.4%, 29%)
CIE-LABlab(66.98, -6.58, 58.10)
CIE-LCHlch(66.98, 58.47, 96.46°)
OKLaboklab(71.31% -0.024 0.1287)
OKLCHoklch(71.31% 0.131 100.6)
XYZxyz(32.9088, 36.6065, 8.3493)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A432 #3243B5
analogous
#B56332 #B5A432 #84B532
triadic
#B5A432 #32B5A4 #A432B5
tetradic
#B5A432 #32B563 #3243B5 #B53284
square
#B5A432 #32B563 #3243B5 #B53284
split-complementary
#B5A432 #3284B5 #6332B5
monochromatic
#554D18 #857925 #B5A432 #D0C054 #DDD284

Accessibility & contrast

On white

2.52
#B5A432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B5A432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A432
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A432#FFFFFF#000000##000000
##B5A4321.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1F
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a432;
/* rgb */ color: rgb(181, 164, 50);
/* oklch */ color: oklch(71.3% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#cfbe72',
    500: '#b5a432',
    950: '#000000',
  },
}
SCSS
$custom: #b5a432;
$custom-light: #cfbe72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a432",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 50
  },
  "hsl": {
    "h": 52.214,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.13095,
    "h": 100.6
  },
  "luminance": 0.36605
}

Semantic roles & 50–950 ramp

primary
#B5A432
secondary
#7C86C7
accent
#5CE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A432

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

Preview Lab → · Contrast checker → · Palette generator →

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