#B5A930#B5A930

#B5A930 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.136 H 103.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B5A930
RGBrgb(181, 169, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 71%)
CMYKcmyk(0%, 6.6%, 73.5%, 29%)
CIE-LABlab(68.33, -9.30, 60.14)
CIE-LCHlch(68.33, 60.86, 98.79°)
OKLaboklab(72.38% -0.0319 0.1327)
OKLCHoklch(72.38% 0.136 103.5)
XYZxyz(33.7790, 38.4145, 8.4312)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A930 #303CB5
analogous
#B56630 #B5A930 #7FB530
triadic
#B5A930 #30B5A9 #A930B5
tetradic
#B5A930 #30B566 #303CB5 #B5307F
square
#B5A930 #30B566 #303CB5 #B5307F
split-complementary
#B5A930 #307FB5 #6630B5
monochromatic
#544F16 #857C23 #B5A930 #D1C551 #DED582

Accessibility & contrast

On white

2.42
#B5A930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B5A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A930
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A930#FFFFFF#000000##000000
##B5A9301.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#C39D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a930;
/* rgb */ color: rgb(181, 169, 48);
/* oklch */ color: oklch(72.4% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#cfc271',
    500: '#b5a930',
    950: '#000000',
  },
}
SCSS
$custom: #b5a930;
$custom-light: #cfc271;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a930",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 54.586,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.13647,
    "h": 103.5
  },
  "luminance": 0.38413
}

Semantic roles & 50–950 ramp

primary
#B5A930
secondary
#7A81C7
accent
#54E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A930

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

Preview Lab → · Contrast checker → · Palette generator →

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