#B5AD31#B5AD31

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

Color values

HEX#B5AD31
RGBrgb(181, 173, 49)
HSLhsl(56, 57%, 45%)
HSVhsv(56, 73%, 71%)
CMYKcmyk(0%, 4.4%, 72.9%, 29%)
CIE-LABlab(69.42, -11.34, 60.83)
CIE-LCHlch(69.42, 61.88, 100.56°)
OKLaboklab(73.25% -0.0376 0.1343)
OKLCHoklch(73.25% 0.139 105.6)
XYZxyz(34.5554, 39.9339, 8.7929)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD31 #3139B5
analogous
#B56B31 #B5AD31 #7BB531
triadic
#B5AD31 #31B5AD #AD31B5
tetradic
#B5AD31 #31B56B #3139B5 #B5317B
square
#B5AD31 #31B56B #3139B5 #B5317B
split-complementary
#B5AD31 #317BB5 #6B31B5
monochromatic
#555117 #857F24 #B5AD31 #D0C953 #DDD883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AD31#FFFFFF#000000##000000
##B5AD311.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)
#BCA71A
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b5ad31;
/* rgb */ color: rgb(181, 173, 49);
/* oklch */ color: oklch(73.3% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#cfc572',
    500: '#b5ad31',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad31;
$custom-light: #cfc572;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad31",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 56.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73251,
    "c": 0.13948,
    "h": 105.6
  },
  "luminance": 0.39933
}

Semantic roles & 50–950 ramp

primary
#B5AD31
secondary
#7B80C7
accent
#50E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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