#B5AD34#B5AD34

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

Color values

HEX#B5AD34
RGBrgb(181, 173, 52)
HSLhsl(56, 55%, 46%)
HSVhsv(56, 71%, 71%)
CMYKcmyk(0%, 4.4%, 71.3%, 29%)
CIE-LABlab(69.44, -11.20, 59.75)
CIE-LCHlch(69.44, 60.79, 100.61°)
OKLaboklab(73.27% -0.0369 0.1326)
OKLCHoklch(73.27% 0.138 105.5)
XYZxyz(34.6209, 39.9601, 9.1376)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5AD34 #343CB5
analogous
#B56C34 #B5AD34 #7CB534
triadic
#B5AD34 #34B5AD #AD34B5
tetradic
#B5AD34 #34B56C #343CB5 #B5347C
square
#B5AD34 #34B56C #343CB5 #B5347C
split-complementary
#B5AD34 #347CB5 #6C34B5
monochromatic
#565219 #858026 #B5AD34 #CFC757 #DCD787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5AD34#FFFFFF#000000##000000
##B5AD341.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)
#BCA720
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b5ad34;
/* rgb */ color: rgb(181, 173, 52);
/* oklch */ color: oklch(73.3% 0.138 105.5);
Tailwind
colors: {
  custom: {
    50: '#cfc574',
    500: '#b5ad34',
    950: '#000000',
  },
}
SCSS
$custom: #b5ad34;
$custom-light: #cfc574;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ad34",
  "rgb": {
    "r": 181,
    "g": 173,
    "b": 52
  },
  "hsl": {
    "h": 56.279,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73272,
    "c": 0.13761,
    "h": 105.5
  },
  "luminance": 0.39959
}

Semantic roles & 50–950 ramp

primary
#B5AD34
secondary
#7F83C6
accent
#52DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5AD34

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

Preview Lab → · Contrast checker → · Palette generator →

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