#B5B73D#B5B73D

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

Color values

HEX#B5B73D
RGBrgb(181, 183, 61)
HSLhsl(61, 50%, 48%)
HSVhsv(61, 67%, 72%)
CMYKcmyk(1.1%, 0%, 66.7%, 28.2%)
CIE-LABlab(72.25, -15.85, 59.08)
CIE-LCHlch(72.25, 61.17, 105.01°)
OKLaboklab(75.53% -0.049 0.1327)
OKLCHoklch(75.53% 0.141 110.3)
XYZxyz(36.8330, 44.0286, 10.9721)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B73D #3F3DB7
analogous
#B77C3D #B5B73D #78B73D
triadic
#B5B73D #3DB5B7 #B73DB5
tetradic
#B5B73D #3DB77C #3F3DB7 #B73D78
square
#B5B73D #3DB77C #3F3DB7 #B73D78
split-complementary
#B5B73D #3D78B7 #7C3DB7
monochromatic
#5A5B1E #88892E #B5B73D #CACC65 #DADB93

Accessibility & contrast

On white

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

On black

9.81
#B5B73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B73D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B73D#FFFFFF#000000##000000
##B5B73D1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b73d;
/* rgb */ color: rgb(181, 183, 61);
/* oklch */ color: oklch(75.5% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cecc79',
    500: '#b5b73d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b73d;
$custom-light: #cecc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b73d",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 60.984,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7553,
    "c": 0.14147,
    "h": 110.3
  },
  "luminance": 0.44028
}

Semantic roles & 50–950 ramp

primary
#B5B73D
secondary
#8A89C6
accent
#4EDA51
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5B73D

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

Preview Lab → · Contrast checker → · Palette generator →

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