#B5A530#B5A530

#B5A530 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.133 H 101.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B5A530
RGBrgb(181, 165, 48)
HSLhsl(53, 58%, 45%)
HSVhsv(53, 73%, 71%)
CMYKcmyk(0%, 8.8%, 73.5%, 29%)
CIE-LABlab(67.24, -7.20, 59.10)
CIE-LCHlch(67.24, 59.54, 96.95°)
OKLaboklab(71.51% -0.026 0.1305)
OKLCHoklch(71.51% 0.133 101.3)
XYZxyz(33.0462, 36.9489, 8.1869)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A530 #3040B5
analogous
#B56330 #B5A530 #83B530
triadic
#B5A530 #30B5A5 #A530B5
tetradic
#B5A530 #30B563 #3040B5 #B53083
square
#B5A530 #30B563 #3040B5 #B53083
split-complementary
#B5A530 #3083B5 #6330B5
monochromatic
#544D16 #857923 #B5A530 #D1C251 #DED382

Accessibility & contrast

On white

2.50
#B5A530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B5A530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A530
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A530#FFFFFF#000000##000000
##B5A5301.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#C3998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a530;
/* rgb */ color: rgb(181, 165, 48);
/* oklch */ color: oklch(71.5% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#cfbf71',
    500: '#b5a530',
    950: '#000000',
  },
}
SCSS
$custom: #b5a530;
$custom-light: #cfbf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a530",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 52.782,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71512,
    "c": 0.13303,
    "h": 101.3
  },
  "luminance": 0.36947
}

Semantic roles & 50–950 ramp

primary
#B5A530
secondary
#7A83C7
accent
#59E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A530

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

Preview Lab → · Contrast checker → · Palette generator →

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