#B5A33D#B5A33D

#B5A33D is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.122 H 99.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B5A33D
RGBrgb(181, 163, 61)
HSLhsl(51, 50%, 47%)
HSVhsv(51, 66%, 71%)
CMYKcmyk(0%, 9.9%, 66.3%, 29%)
CIE-LABlab(66.79, -5.45, 53.44)
CIE-LCHlch(66.79, 53.72, 95.82°)
OKLaboklab(71.19% -0.0196 0.1208)
OKLCHoklch(71.19% 0.122 99.2)
XYZxyz(32.9970, 36.3566, 9.6934)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A33D #3D4FB5
analogous
#B5673D #B5A33D #8BB53D
triadic
#B5A33D #3DB5A3 #A33DB5
tetradic
#B5A33D #3DB567 #3D4FB5 #B53D8B
square
#B5A33D #3DB567 #3D4FB5 #B53D8B
split-complementary
#B5A33D #3D8BB5 #673DB5
monochromatic
#59511E #877A2E #B5A33D #CBBB64 #DACF92

Accessibility & contrast

On white

2.54
#B5A33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B5A33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A33D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A33D#FFFFFF#000000##000000
##B5A33D1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F30
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#C3978E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a33d;
/* rgb */ color: rgb(181, 163, 61);
/* oklch */ color: oklch(71.2% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#cebd78',
    500: '#b5a33d',
    950: '#000000',
  },
}
SCSS
$custom: #b5a33d;
$custom-light: #cebd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a33d",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 61
  },
  "hsl": {
    "h": 51,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71187,
    "c": 0.12238,
    "h": 99.2
  },
  "luminance": 0.36355
}

Semantic roles & 50–950 ramp

primary
#B5A33D
secondary
#8891C5
accent
#63D94F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A33D

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

Preview Lab → · Contrast checker → · Palette generator →

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