#B5B730#B5B730

#B5B730 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.150 H 110.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B5B730
RGBrgb(181, 183, 48)
HSLhsl(61, 58%, 45%)
HSVhsv(61, 74%, 72%)
CMYKcmyk(1.1%, 0%, 73.8%, 28.2%)
CIE-LABlab(72.17, -16.51, 63.78)
CIE-LCHlch(72.17, 65.89, 104.51°)
OKLaboklab(75.44% -0.0521 0.1404)
OKLCHoklch(75.44% 0.15 110.4)
XYZxyz(36.5243, 43.9052, 9.3463)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B730 #3230B7
analogous
#B77530 #B5B730 #71B730
triadic
#B5B730 #30B5B7 #B730B5
tetradic
#B5B730 #30B775 #3230B7 #B73071
square
#B5B730 #30B775 #3230B7 #B73071
split-complementary
#B5B730 #3071B7 #7530B7
monochromatic
#555617 #858723 #B5B730 #D0D252 #DDDE83

Accessibility & contrast

On white

2.15
#B5B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B5B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B730
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B730#FFFFFF#000000##000000
##B5B7301.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b730;
/* rgb */ color: rgb(181, 183, 48);
/* oklch */ color: oklch(75.4% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc73',
    500: '#b5b730',
    950: '#000000',
  },
}
SCSS
$custom: #b5b730;
$custom-light: #cfcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b730",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 60.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75438,
    "c": 0.14976,
    "h": 110.4
  },
  "luminance": 0.43904
}

Semantic roles & 50–950 ramp

primary
#B5B730
secondary
#7C7BC8
accent
#46E248
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B730

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

Preview Lab → · Contrast checker → · Palette generator →

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