#B7B533#B7B533

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

Color values

HEX#B7B533
RGBrgb(183, 181, 51)
HSLhsl(59, 56%, 46%)
HSVhsv(59, 72%, 72%)
CMYKcmyk(0%, 1.1%, 72.1%, 28.2%)
CIE-LABlab(71.80, -14.50, 62.45)
CIE-LCHlch(71.80, 64.11, 103.07°)
OKLaboklab(75.19% -0.0463 0.138)
OKLCHoklch(75.19% 0.146 108.6)
XYZxyz(36.6512, 43.3552, 9.5691)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B533 #3335B7
analogous
#B77333 #B7B533 #77B733
triadic
#B7B533 #33B7B5 #B533B7
tetradic
#B7B533 #33B773 #3335B7 #B73377
square
#B7B533 #33B773 #3335B7 #B73377
split-complementary
#B7B533 #3377B7 #7333B7
monochromatic
#575618 #878626 #B7B533 #D0CE57 #DEDC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B533#FFFFFF#000000##000000
##B7B5331.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)
#C4AE1B
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#C4A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b533;
/* rgb */ color: rgb(183, 181, 51);
/* oklch */ color: oklch(75.2% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0ca74',
    500: '#b7b533',
    950: '#000000',
  },
}
SCSS
$custom: #b7b533;
$custom-light: #d0ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b533",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 59.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.14561,
    "h": 108.6
  },
  "luminance": 0.43354
}

Semantic roles & 50–950 ramp

primary
#B7B533
secondary
#7F80C7
accent
#4AE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B533

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

Preview Lab → · Contrast checker → · Palette generator →

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