#B8B631#B8B631

#B8B631 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#B8B631
RGBrgb(184, 182, 49)
HSLhsl(59, 58%, 46%)
HSVhsv(59, 73%, 72%)
CMYKcmyk(0%, 1.1%, 73.4%, 27.8%)
CIE-LABlab(72.14, -14.67, 63.51)
CIE-LCHlch(72.14, 65.18, 103.01°)
OKLaboklab(75.48% -0.047 0.1399)
OKLCHoklch(75.48% 0.148 108.6)
XYZxyz(37.0509, 43.8692, 9.4210)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B631 #3133B8
analogous
#B87231 #B8B631 #76B831
triadic
#B8B631 #31B8B6 #B631B8
tetradic
#B8B631 #31B872 #3133B8 #B83176
square
#B8B631 #31B872 #3133B8 #B83176
split-complementary
#B8B631 #3176B8 #7231B8
monochromatic
#575617 #888624 #B8B631 #D2D055 #DEDD85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B631#FFFFFF#000000##000000
##B8B6311.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)
#C5AE16
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C5AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b631;
/* rgb */ color: rgb(184, 182, 49);
/* oklch */ color: oklch(75.5% 0.148 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cb73',
    500: '#b8b631',
    950: '#000000',
  },
}
SCSS
$custom: #b8b631;
$custom-light: #d1cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b631",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 59.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7548,
    "c": 0.14758,
    "h": 108.6
  },
  "luminance": 0.43868
}

Semantic roles & 50–950 ramp

primary
#B8B631
secondary
#7D7EC8
accent
#49E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B631

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

Preview Lab → · Contrast checker → · Palette generator →

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