#B8B534#B8B534

#B8B534 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.145 H 108.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B8B534
RGBrgb(184, 181, 52)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 72%)
CMYKcmyk(0%, 1.6%, 71.7%, 27.8%)
CIE-LABlab(71.88, -14.02, 62.21)
CIE-LCHlch(71.88, 63.77, 102.70°)
OKLaboklab(75.28% -0.0449 0.1377)
OKLCHoklch(75.28% 0.145 108.1)
XYZxyz(36.9123, 43.4872, 9.6976)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B534 #3437B8
analogous
#B87334 #B8B534 #79B834
triadic
#B8B534 #34B8B5 #B534B8
tetradic
#B8B534 #34B873 #3437B8 #B83479
square
#B8B534 #34B873 #3437B8 #B83479
split-complementary
#B8B534 #3479B8 #7334B8
monochromatic
#595719 #888627 #B8B534 #D0CD59 #DEDC89

Accessibility & contrast

On white

2.17
#B8B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B8B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B534
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B534#FFFFFF#000000##000000
##B8B5341.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1D
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b534;
/* rgb */ color: rgb(184, 181, 52);
/* oklch */ color: oklch(75.3% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#d1ca74',
    500: '#b8b534',
    950: '#000000',
  },
}
SCSS
$custom: #b8b534;
$custom-light: #d1ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b534",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 58.636,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.14482,
    "h": 108.1
  },
  "luminance": 0.43486
}

Semantic roles & 50–950 ramp

primary
#B8B534
secondary
#8082C8
accent
#4CDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B534

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

Preview Lab → · Contrast checker → · Palette generator →

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