#B8B634#B8B634

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

Color values

HEX#B8B634
RGBrgb(184, 182, 52)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 72%)
CMYKcmyk(0%, 1.1%, 71.7%, 27.8%)
CIE-LABlab(72.16, -14.53, 62.47)
CIE-LCHlch(72.16, 64.14, 103.09°)
OKLaboklab(75.5% -0.0464 0.1382)
OKLCHoklch(75.5% 0.146 108.5)
XYZxyz(37.1163, 43.8953, 9.7656)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B634 #3436B8
analogous
#B87434 #B8B634 #78B834
triadic
#B8B634 #34B8B6 #B634B8
tetradic
#B8B634 #34B874 #3436B8 #B83478
square
#B8B634 #34B874 #3436B8 #B83478
split-complementary
#B8B634 #3478B8 #7434B8
monochromatic
#595819 #888727 #B8B634 #D0CE59 #DEDC89

Accessibility & contrast

On white

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

On black

9.78
#B8B634 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B634
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B634#FFFFFF#000000##000000
##B8B6341.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1C
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#C5AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b634;
/* rgb */ color: rgb(184, 182, 52);
/* oklch */ color: oklch(75.5% 0.146 108.5);
Tailwind
colors: {
  custom: {
    50: '#d1cb75',
    500: '#b8b634',
    950: '#000000',
  },
}
SCSS
$custom: #b8b634;
$custom-light: #d1cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b634",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 52
  },
  "hsl": {
    "h": 59.091,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.755,
    "c": 0.1458,
    "h": 108.5
  },
  "luminance": 0.43894
}

Semantic roles & 50–950 ramp

primary
#B8B634
secondary
#8081C8
accent
#4BDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B634

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

Preview Lab → · Contrast checker → · Palette generator →

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