#B5AD33#B5AD33

#B5AD33 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.138 H 105.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B5AD33
RGBrgb(181, 173, 51)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 4.4%, 71.8%, 29%)
CIE-LABlab(69.43, -11.25, 60.11)
CIE-LCHlch(69.43, 61.16, 100.60°)
OKLaboklab(73.27% -0.0371 0.1332)
OKLCHoklch(73.27% 0.138 105.6)
XYZxyz(34.5986, 39.9512, 9.0202)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD33 #333BB5
analogous
#B56C33 #B5AD33 #7CB533
triadic
#B5AD33 #33B5AD #AD33B5
tetradic
#B5AD33 #33B56C #333BB5 #B5337C
square
#B5AD33 #33B56C #333BB5 #B5337C
split-complementary
#B5AD33 #337CB5 #6C33B5
monochromatic
#565218 #857F26 #B5AD33 #CFC856 #DDD786

Accessibility & contrast

On white

2.34
#B5AD33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B5AD33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5AD33
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5AD33#FFFFFF#000000##000000
##B5AD331.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ad33;
/* rgb */ color: rgb(181, 173, 51);
/* oklch */ color: oklch(73.3% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#cfc573',
    500: '#b5ad33',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad33;
$custom-light: #cfc573;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad33",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 51
  },
  "hsl": {
    "h": 56.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73265,
    "c": 0.13824,
    "h": 105.6
  },
  "luminance": 0.3995
}

Semantic roles & 50–950 ramp

primary
#B5AD33
secondary
#7D82C6
accent
#52DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AD33

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

Preview Lab → · Contrast checker → · Palette generator →

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