#B5B73B#B5B73B

#B5B73B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.143 H 110.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B5B73B
RGBrgb(181, 183, 59)
HSLhsl(61, 51%, 47%)
HSVhsv(61, 68%, 72%)
CMYKcmyk(1.1%, 0%, 67.8%, 28.2%)
CIE-LABlab(72.23, -15.96, 59.85)
CIE-LCHlch(72.23, 61.94, 104.93°)
OKLaboklab(75.51% -0.0495 0.134)
OKLCHoklch(75.51% 0.143 110.3)
XYZxyz(36.7802, 44.0075, 10.6936)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B73B #3D3BB7
analogous
#B77B3B #B5B73B #77B73B
triadic
#B5B73B #3BB5B7 #B73BB5
tetradic
#B5B73B #3BB77B #3D3BB7 #B73B77
square
#B5B73B #3BB77B #3D3BB7 #B73B77
split-complementary
#B5B73B #3B77B7 #7B3BB7
monochromatic
#595A1D #87892C #B5B73B #CBCD63 #DADC91

Accessibility & contrast

On white

2.14
#B5B73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B5B73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B73B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B73B#FFFFFF#000000##000000
##B5B73B1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF28
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b73b;
/* rgb */ color: rgb(181, 183, 59);
/* oklch */ color: oklch(75.5% 0.143 110.3);
Tailwind
colors: {
  custom: {
    50: '#cecc78',
    500: '#b5b73b',
    950: '#000000',
  },
}
SCSS
$custom: #b5b73b;
$custom-light: #cecc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b73b",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 60.968,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75514,
    "c": 0.14286,
    "h": 110.3
  },
  "luminance": 0.44006
}

Semantic roles & 50–950 ramp

primary
#B5B73B
secondary
#8887C6
accent
#4DDB4F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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