#B8B930#B8B930

#B8B930 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.151 H 109.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#B8B930
RGBrgb(184, 185, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0.5%, 0%, 74.1%, 27.5%)
CIE-LABlab(72.96, -16.23, 64.62)
CIE-LCHlch(72.96, 66.62, 104.10°)
OKLaboklab(76.13% -0.0515 0.1421)
OKLCHoklch(76.13% 0.151 109.9)
XYZxyz(37.6510, 45.1028, 9.5181)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B930 #3130B9
analogous
#B97530 #B8B930 #73B930
triadic
#B8B930 #30B8B9 #B930B8
tetradic
#B8B930 #30B975 #3130B9 #B93073
square
#B8B930 #30B975 #3130B9 #B93073
split-complementary
#B8B930 #3073B9 #7530B9
monochromatic
#575817 #888823 #B8B930 #D2D354 #DEDF84

Accessibility & contrast

On white

2.10
#B8B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#B8B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B930
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B930#FFFFFF#000000##000000
##B8B9301.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B112
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C5AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b930;
/* rgb */ color: rgb(184, 185, 48);
/* oklch */ color: oklch(76.1% 0.151 109.9);
Tailwind
colors: {
  custom: {
    50: '#d1cd73',
    500: '#b8b930',
    950: '#000000',
  },
}
SCSS
$custom: #b8b930;
$custom-light: #d1cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b930",
  "rgb": {
    "r": 184,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 60.438,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76132,
    "c": 0.1511,
    "h": 109.9
  },
  "luminance": 0.45102
}

Semantic roles & 50–950 ramp

primary
#B8B930
secondary
#7D7CC9
accent
#46E247
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B930

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

Preview Lab → · Contrast checker → · Palette generator →

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