#B7B534#B7B534

#B7B534 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.145 H 108.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B7B534
RGBrgb(183, 181, 52)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 72%)
CMYKcmyk(0%, 1.1%, 71.6%, 28.2%)
CIE-LABlab(71.80, -14.45, 62.10)
CIE-LCHlch(71.80, 63.76, 103.10°)
OKLaboklab(75.2% -0.0461 0.1375)
OKLCHoklch(75.2% 0.145 108.5)
XYZxyz(36.6735, 43.3641, 9.6864)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B534 #3436B7
analogous
#B77334 #B7B534 #77B734
triadic
#B7B534 #34B7B5 #B534B7
tetradic
#B7B534 #34B773 #3436B7 #B73477
square
#B7B534 #34B773 #3436B7 #B73477
split-complementary
#B7B534 #3477B7 #7334B7
monochromatic
#585719 #878626 #B7B534 #D0CE59 #DDDC88

Accessibility & contrast

On white

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

On black

9.67
#B7B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B534
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B534#FFFFFF#000000##000000
##B7B5341.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b534;
/* rgb */ color: rgb(183, 181, 52);
/* oklch */ color: oklch(75.2% 0.145 108.5);
Tailwind
colors: {
  custom: {
    50: '#d0ca74',
    500: '#b7b534',
    950: '#000000',
  },
}
SCSS
$custom: #b7b534;
$custom-light: #d0ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b534",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 59.084,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75195,
    "c": 0.145,
    "h": 108.5
  },
  "luminance": 0.43363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7B534

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

Preview Lab → · Contrast checker → · Palette generator →

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