#B5B350#B5B350

#B5B350 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.122 H 107.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B5B350
RGBrgb(181, 179, 80)
HSLhsl(59, 41%, 51%)
HSVhsv(59, 56%, 71%)
CMYKcmyk(0%, 1.1%, 55.8%, 29%)
CIE-LABlab(71.31, -12.50, 49.86)
CIE-LCHlch(71.31, 51.40, 104.08°)
OKLaboklab(74.84% -0.0375 0.1158)
OKLCHoklch(74.84% 0.122 107.9)
XYZxyz(36.6252, 42.6442, 13.8897)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B350 #5052B5
analogous
#B58050 #B5B350 #84B550
triadic
#B5B350 #50B5B3 #B350B5
tetradic
#B5B350 #50B580 #5052B5 #B55084
square
#B5B350 #50B580 #5052B5 #B55084
split-complementary
#B5B350 #5084B5 #8050B5
monochromatic
#616029 #8C8B3B #B5B350 #C7C67B #D9D8A6

Accessibility & contrast

On white

2.20
#B5B350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B5B350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B350
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B350#FFFFFF#000000##000000
##B5B3501.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD46
Deuteranopia (green-blind)
#C2B055
Tritanopia (blue-blind)
#C1A99D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b350;
/* rgb */ color: rgb(181, 179, 80);
/* oklch */ color: oklch(74.8% 0.122 107.9);
Tailwind
colors: {
  custom: {
    50: '#cdc984',
    500: '#b5b350',
    950: '#000000',
  },
}
SCSS
$custom: #b5b350;
$custom-light: #cdc984;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b350",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 80
  },
  "hsl": {
    "h": 58.812,
    "s": 40.562,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.12173,
    "h": 107.9
  },
  "luminance": 0.42643
}

Semantic roles & 50–950 ramp

primary
#B5B350
secondary
#9A9BC7
accent
#5AD057
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5B350

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

Preview Lab → · Contrast checker → · Palette generator →

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