#B4AD31#B4AD31

#B4AD31 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.140 H 106.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B4AD31
RGBrgb(180, 173, 49)
HSLhsl(57, 57%, 45%)
HSVhsv(57, 73%, 71%)
CMYKcmyk(0%, 3.9%, 72.8%, 29.4%)
CIE-LABlab(69.34, -11.78, 60.72)
CIE-LCHlch(69.34, 61.85, 100.98°)
OKLaboklab(73.16% -0.0387 0.1341)
OKLCHoklch(73.16% 0.14 106.1)
XYZxyz(34.3217, 39.8134, 8.7820)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AD31 #3138B4
analogous
#B46C31 #B4AD31 #79B431
triadic
#B4AD31 #31B4AD #AD31B4
tetradic
#B4AD31 #31B46C #3138B4 #B43179
square
#B4AD31 #31B46C #3138B4 #B43179
split-complementary
#B4AD31 #3179B4 #6C31B4
monochromatic
#545117 #847F24 #B4AD31 #D0C952 #DDD882

Accessibility & contrast

On white

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

On black

8.96
#B4AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AD31
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AD31#FFFFFF#000000##000000
##B4AD311.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71A
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ad31;
/* rgb */ color: rgb(180, 173, 49);
/* oklch */ color: oklch(73.2% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#cec572',
    500: '#b4ad31',
    950: '#000000',
  },
}
SCSS
$custom: #b4ad31;
$custom-light: #cec572;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ad31",
  "rgb": {
    "r": 180,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 56.794,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73162,
    "c": 0.1396,
    "h": 106.1
  },
  "luminance": 0.39812
}

Semantic roles & 50–950 ramp

primary
#B4AD31
secondary
#7B7FC6
accent
#50E047
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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