#B5A533#B5A533

#B5A533 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.131 H 101.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B5A533
RGBrgb(181, 165, 51)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 71%)
CMYKcmyk(0%, 8.8%, 71.8%, 29%)
CIE-LABlab(67.26, -7.06, 57.99)
CIE-LCHlch(67.26, 58.42, 96.94°)
OKLaboklab(71.53% -0.0253 0.1287)
OKLCHoklch(71.53% 0.131 101.1)
XYZxyz(33.1102, 36.9745, 8.5241)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A533 #3343B5
analogous
#B56433 #B5A533 #84B533
triadic
#B5A533 #33B5A5 #A533B5
tetradic
#B5A533 #33B564 #3343B5 #B53384
square
#B5A533 #33B564 #3343B5 #B53384
split-complementary
#B5A533 #3384B5 #6433B5
monochromatic
#564E18 #857926 #B5A533 #CFC056 #DDD286

Accessibility & contrast

On white

2.50
#B5A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B5A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A533
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A533#FFFFFF#000000##000000
##B5A5331.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#C3998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a533;
/* rgb */ color: rgb(181, 165, 51);
/* oklch */ color: oklch(71.5% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#cfbf72',
    500: '#b5a533',
    950: '#000000',
  },
}
SCSS
$custom: #b5a533;
$custom-light: #cfbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a533",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 52.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.13114,
    "h": 101.1
  },
  "luminance": 0.36973
}

Semantic roles & 50–950 ramp

primary
#B5A533
secondary
#7D86C6
accent
#5BDF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A533

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

Preview Lab → · Contrast checker → · Palette generator →

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