#B8B630#B8B630

#B8B630 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.5% C 0.148 H 108.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B8B630
RGBrgb(184, 182, 48)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 74%, 72%)
CMYKcmyk(0%, 1.1%, 73.9%, 27.8%)
CIE-LABlab(72.14, -14.71, 63.84)
CIE-LCHlch(72.14, 65.52, 102.98°)
OKLaboklab(75.47% -0.0473 0.1404)
OKLCHoklch(75.47% 0.148 108.6)
XYZxyz(37.0300, 43.8608, 9.3111)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B630 #3032B8
analogous
#B87230 #B8B630 #76B830
triadic
#B8B630 #30B8B6 #B630B8
tetradic
#B8B630 #30B872 #3032B8 #B83076
square
#B8B630 #30B872 #3032B8 #B83076
split-complementary
#B8B630 #3076B8 #7230B8
monochromatic
#575617 #878623 #B8B630 #D2D053 #DFDD84

Accessibility & contrast

On white

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

On black

9.77
#B8B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B630
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B630#FFFFFF#000000##000000
##B8B6301.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b630;
/* rgb */ color: rgb(184, 182, 48);
/* oklch */ color: oklch(75.5% 0.148 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cb73',
    500: '#b8b630',
    950: '#000000',
  },
}
SCSS
$custom: #b8b630;
$custom-light: #d1cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b630",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 59.118,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75474,
    "c": 0.14815,
    "h": 108.6
  },
  "luminance": 0.4386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B630

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

Preview Lab → · Contrast checker → · Palette generator →

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