#B5A130#B5A130

#B5A130 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.130 H 98.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B5A130
RGBrgb(181, 161, 48)
HSLhsl(51, 58%, 45%)
HSVhsv(51, 73%, 71%)
CMYKcmyk(0%, 11%, 73.5%, 29%)
CIE-LABlab(66.16, -5.08, 58.06)
CIE-LCHlch(66.16, 58.28, 95.00°)
OKLaboklab(70.66% -0.02 0.1283)
OKLCHoklch(70.66% 0.13 98.9)
XYZxyz(32.3360, 35.5285, 7.9502)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A130 #3044B5
analogous
#B55E30 #B5A130 #87B530
triadic
#B5A130 #30B5A1 #A130B5
tetradic
#B5A130 #30B55E #3044B5 #B53087
square
#B5A130 #30B55E #3044B5 #B53087
split-complementary
#B5A130 #3087B5 #5E30B5
monochromatic
#544B16 #857623 #B5A130 #D1BE51 #DED082

Accessibility & contrast

On white

2.59
#B5A130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B5A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A130
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A130#FFFFFF#000000##000000
##B5A1301.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#C3958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b5a130;
/* rgb */ color: rgb(181, 161, 48);
/* oklch */ color: oklch(70.7% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#cfbc70',
    500: '#b5a130',
    950: '#000000',
  },
}
SCSS
$custom: #b5a130;
$custom-light: #cfbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a130",
  "rgb": {
    "r": 181,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 50.977,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.12981,
    "h": 98.9
  },
  "luminance": 0.35527
}

Semantic roles & 50–950 ramp

primary
#B5A130
secondary
#7A86C7
accent
#5EE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A130

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

Preview Lab → · Contrast checker → · Palette generator →

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