#B8B530#B8B530

#B8B530 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.147 H 108.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B8B530
RGBrgb(184, 181, 48)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 74%, 72%)
CMYKcmyk(0%, 1.6%, 73.9%, 27.8%)
CIE-LABlab(71.86, -14.20, 63.59)
CIE-LCHlch(71.86, 65.15, 102.59°)
OKLaboklab(75.26% -0.0458 0.1399)
OKLCHoklch(75.26% 0.147 108.1)
XYZxyz(36.8260, 43.4527, 9.2431)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B530 #3033B8
analogous
#B87130 #B8B530 #77B830
triadic
#B8B530 #30B8B5 #B530B8
tetradic
#B8B530 #30B871 #3033B8 #B83077
square
#B8B530 #30B871 #3033B8 #B83077
split-complementary
#B8B530 #3077B8 #7130B8
monochromatic
#575617 #878523 #B8B530 #D2CF53 #DFDD84

Accessibility & contrast

On white

2.17
#B8B530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B8B530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B530
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B530#FFFFFF#000000##000000
##B8B5301.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE14
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b530;
/* rgb */ color: rgb(184, 181, 48);
/* oklch */ color: oklch(75.3% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#d1ca72',
    500: '#b8b530',
    950: '#000000',
  },
}
SCSS
$custom: #b8b530;
$custom-light: #d1ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b530",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 48
  },
  "hsl": {
    "h": 58.676,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75255,
    "c": 0.14719,
    "h": 108.1
  },
  "luminance": 0.43451
}

Semantic roles & 50–950 ramp

primary
#B8B530
secondary
#7C7DC8
accent
#49E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B530

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

Preview Lab → · Contrast checker → · Palette generator →

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