#B5A433#B5A433

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

Color values

HEX#B5A433
RGBrgb(181, 164, 51)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 9.4%, 71.8%, 29%)
CIE-LABlab(66.99, -6.53, 57.72)
CIE-LCHlch(66.99, 58.09, 96.45°)
OKLaboklab(71.32% -0.0238 0.1281)
OKLCHoklch(71.32% 0.13 100.5)
XYZxyz(32.9306, 36.6152, 8.4642)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A433 #3344B5
analogous
#B56333 #B5A433 #85B533
triadic
#B5A433 #33B5A4 #A433B5
tetradic
#B5A433 #33B563 #3344B5 #B53385
square
#B5A433 #33B563 #3344B5 #B53385
split-complementary
#B5A433 #3385B5 #6333B5
monochromatic
#564D18 #857926 #B5A433 #CFBF56 #DDD186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A433#FFFFFF#000000##000000
##B5A4331.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)
#B49F21
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b5a433;
/* rgb */ color: rgb(181, 164, 51);
/* oklch */ color: oklch(71.3% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#cfbe72',
    500: '#b5a433',
    950: '#000000',
  },
}
SCSS
$custom: #b5a433;
$custom-light: #cfbe72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a433",
  "rgb": {
    "r": 181,
    "g": 164,
    "b": 51
  },
  "hsl": {
    "h": 52.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71319,
    "c": 0.13031,
    "h": 100.5
  },
  "luminance": 0.36614
}

Semantic roles & 50–950 ramp

primary
#B5A433
secondary
#7D87C6
accent
#5CDF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A433

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

Preview Lab → · Contrast checker → · Palette generator →

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