#B5A330#B5A330

#B5A330 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.131 H 100.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B5A330
RGBrgb(181, 163, 48)
HSLhsl(52, 58%, 45%)
HSVhsv(52, 73%, 71%)
CMYKcmyk(0%, 9.9%, 73.5%, 29%)
CIE-LABlab(66.70, -6.14, 58.58)
CIE-LCHlch(66.70, 58.90, 95.99°)
OKLaboklab(71.08% -0.023 0.1294)
OKLCHoklch(71.08% 0.131 100.1)
XYZxyz(32.6883, 36.2331, 8.0676)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A330 #3042B5
analogous
#B56130 #B5A330 #84B530
triadic
#B5A330 #30B5A3 #A330B5
tetradic
#B5A330 #30B561 #3042B5 #B53084
square
#B5A330 #30B561 #3042B5 #B53084
split-complementary
#B5A330 #3084B5 #6130B5
monochromatic
#544C16 #857723 #B5A330 #D1C051 #DED182

Accessibility & contrast

On white

2.55
#B5A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B5A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A330
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A330#FFFFFF#000000##000000
##B5A3301.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#C3978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a330;
/* rgb */ color: rgb(181, 163, 48);
/* oklch */ color: oklch(71.1% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#cfbd70',
    500: '#b5a330',
    950: '#000000',
  },
}
SCSS
$custom: #b5a330;
$custom-light: #cfbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a330",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 51.88,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71083,
    "c": 0.1314,
    "h": 100.1
  },
  "luminance": 0.36232
}

Semantic roles & 50–950 ramp

primary
#B5A330
secondary
#7A84C7
accent
#5BE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A330

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

Preview Lab → · Contrast checker → · Palette generator →

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