#B5B73C#B5B73C

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

Color values

HEX#B5B73C
RGBrgb(181, 183, 60)
HSLhsl(61, 51%, 48%)
HSVhsv(61, 67%, 72%)
CMYKcmyk(1.1%, 0%, 67.2%, 28.2%)
CIE-LABlab(72.24, -15.90, 59.47)
CIE-LCHlch(72.24, 61.56, 104.97°)
OKLaboklab(75.52% -0.0493 0.1334)
OKLCHoklch(75.52% 0.142 110.3)
XYZxyz(36.8063, 44.0180, 10.8316)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B73C #3E3CB7
analogous
#B77C3C #B5B73C #77B73C
triadic
#B5B73C #3CB5B7 #B73CB5
tetradic
#B5B73C #3CB77C #3E3CB7 #B73C77
square
#B5B73C #3CB77C #3E3CB7 #B73C77
split-complementary
#B5B73C #3C77B7 #7C3CB7
monochromatic
#5A5B1E #87892D #B5B73C #CACC64 #DADB92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B73C#FFFFFF#000000##000000
##B5B73C1.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)
#C5AF2A
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b73c;
/* rgb */ color: rgb(181, 183, 60);
/* oklch */ color: oklch(75.5% 0.142 110.3);
Tailwind
colors: {
  custom: {
    50: '#cecc79',
    500: '#b5b73c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b73c;
$custom-light: #cecc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b73c",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 60.976,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75522,
    "c": 0.14217,
    "h": 110.3
  },
  "luminance": 0.44017
}

Semantic roles & 50–950 ramp

primary
#B5B73C
secondary
#8988C6
accent
#4EDA50
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B73C

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

Preview Lab → · Contrast checker → · Palette generator →

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