#B7B733#B7B733

#B7B733 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.148 H 109.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B7B733
RGBrgb(183, 183, 51)
HSLhsl(60, 56%, 46%)
HSVhsv(60, 72%, 72%)
CMYKcmyk(0%, 0%, 72.1%, 28.2%)
CIE-LABlab(72.34, -15.51, 62.98)
CIE-LCHlch(72.34, 64.86, 103.84°)
OKLaboklab(75.63% -0.0492 0.1392)
OKLCHoklch(75.63% 0.148 109.5)
XYZxyz(37.0608, 44.1744, 9.7056)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B733 #3333B7
analogous
#B77533 #B7B733 #75B733
triadic
#B7B733 #33B7B7 #B733B7
tetradic
#B7B733 #33B775 #3333B7 #B73375
square
#B7B733 #33B775 #3333B7 #B73375
split-complementary
#B7B733 #3375B7 #7533B7
monochromatic
#575718 #878726 #B7B733 #D0D057 #DEDE87

Accessibility & contrast

On white

2.14
#B7B733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B7B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B733
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B733#FFFFFF#000000##000000
##B7B7331.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#C4AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b733;
/* rgb */ color: rgb(183, 183, 51);
/* oklch */ color: oklch(75.6% 0.148 109.5);
Tailwind
colors: {
  custom: {
    50: '#d0cc74',
    500: '#b7b733',
    950: '#000000',
  },
}
SCSS
$custom: #b7b733;
$custom-light: #d0cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b733",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.14759,
    "h": 109.5
  },
  "luminance": 0.44173
}

Semantic roles & 50–950 ramp

primary
#B7B733
secondary
#7F7FC7
accent
#48E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B733

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

Preview Lab → · Contrast checker → · Palette generator →

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