#B8B730#B8B730

#B8B730 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.149 H 109.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B8B730
RGBrgb(184, 183, 48)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0%, 0.5%, 73.9%, 27.8%)
CIE-LABlab(72.41, -15.22, 64.10)
CIE-LCHlch(72.41, 65.88, 103.36°)
OKLaboklab(75.69% -0.0487 0.141)
OKLCHoklch(75.69% 0.149 109.1)
XYZxyz(37.2355, 44.2719, 9.3796)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B730 #3031B8
analogous
#B87330 #B8B730 #75B830
triadic
#B8B730 #30B8B7 #B730B8
tetradic
#B8B730 #30B873 #3031B8 #B83075
square
#B8B730 #30B873 #3031B8 #B83075
split-complementary
#B8B730 #3075B8 #7330B8
monochromatic
#575617 #878723 #B8B730 #D2D153 #DFDE84

Accessibility & contrast

On white

2.13
#B8B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B8B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B730
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B730#FFFFFF#000000##000000
##B8B7301.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b730;
/* rgb */ color: rgb(184, 183, 48);
/* oklch */ color: oklch(75.7% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc73',
    500: '#b8b730',
    950: '#000000',
  },
}
SCSS
$custom: #b8b730;
$custom-light: #d1cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b730",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 59.559,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75693,
    "c": 0.14913,
    "h": 109.1
  },
  "luminance": 0.44271
}

Semantic roles & 50–950 ramp

primary
#B8B730
secondary
#7C7CC8
accent
#47E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B730

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

Preview Lab → · Contrast checker → · Palette generator →

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