#B4AD2D#B4AD2D

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

Color values

HEX#B4AD2D
RGBrgb(180, 173, 45)
HSLhsl(57, 60%, 44%)
HSVhsv(57, 75%, 71%)
CMYKcmyk(0%, 3.9%, 75%, 29.4%)
CIE-LABlab(69.31, -11.96, 62.10)
CIE-LCHlch(69.31, 63.24, 100.90°)
OKLaboklab(73.14% -0.0396 0.1363)
OKLCHoklch(73.14% 0.142 106.2)
XYZxyz(34.2410, 39.7812, 8.3570)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AD2D #2D34B4
analogous
#B46A2D #B4AD2D #78B42D
triadic
#B4AD2D #2DB4AD #AD2DB4
tetradic
#B4AD2D #2DB46A #2D34B4 #B42D78
square
#B4AD2D #2DB46A #2D34B4 #B42D78
split-complementary
#B4AD2D #2D78B4 #6A2DB4
monochromatic
#524F15 #837E21 #B4AD2D #D2CB4C #DED97D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AD2D#FFFFFF#000000##000000
##B4AD2D1.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)
#BCA611
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ad2d;
/* rgb */ color: rgb(180, 173, 45);
/* oklch */ color: oklch(73.1% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#cec570',
    500: '#b4ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ad2d;
$custom-light: #cec570;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ad2d",
  "rgb": {
    "r": 180,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 56.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73136,
    "c": 0.14194,
    "h": 106.2
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#B4AD2D
secondary
#767AC7
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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