#B8B734#B8B734

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

Color values

HEX#B8B734
RGBrgb(184, 183, 52)
HSLhsl(60, 56%, 46%)
HSVhsv(60, 72%, 72%)
CMYKcmyk(0%, 0.5%, 71.7%, 27.8%)
CIE-LABlab(72.43, -15.04, 62.74)
CIE-LCHlch(72.43, 64.51, 103.48°)
OKLaboklab(75.72% -0.0478 0.1388)
OKLCHoklch(75.72% 0.147 109)
XYZxyz(37.3218, 44.3064, 9.8342)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B734 #3435B8
analogous
#B87534 #B8B734 #77B834
triadic
#B8B734 #34B8B7 #B734B8
tetradic
#B8B734 #34B875 #3435B8 #B83477
square
#B8B734 #34B875 #3435B8 #B83477
split-complementary
#B8B734 #3477B8 #7534B8
monochromatic
#595819 #888827 #B8B734 #D0CF59 #DEDD89

Accessibility & contrast

On white

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

On black

9.86
#B8B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B734
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B734#FFFFFF#000000##000000
##B8B7341.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1C
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b734;
/* rgb */ color: rgb(184, 183, 52);
/* oklch */ color: oklch(75.7% 0.147 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1cc75',
    500: '#b8b734',
    950: '#000000',
  },
}
SCSS
$custom: #b8b734;
$custom-light: #d1cc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b734",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 59.545,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75719,
    "c": 0.14679,
    "h": 109
  },
  "luminance": 0.44305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B734

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

Preview Lab → · Contrast checker → · Palette generator →

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