#B7B530#B7B530

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

Color values

HEX#B7B530
RGBrgb(183, 181, 48)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 74%, 72%)
CMYKcmyk(0%, 1.1%, 73.8%, 28.2%)
CIE-LABlab(71.78, -14.63, 63.48)
CIE-LCHlch(71.78, 65.14, 102.98°)
OKLaboklab(75.17% -0.047 0.1397)
OKLCHoklch(75.17% 0.147 108.6)
XYZxyz(36.5872, 43.3296, 9.2319)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B530 #3032B7
analogous
#B77130 #B7B530 #75B730
triadic
#B7B530 #30B7B5 #B530B7
tetradic
#B7B530 #30B771 #3032B7 #B73075
square
#B7B530 #30B771 #3032B7 #B73075
split-complementary
#B7B530 #3075B7 #7130B7
monochromatic
#565517 #878523 #B7B530 #D2D052 #DEDD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B530#FFFFFF#000000##000000
##B7B5301.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)
#C4AD14
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C4A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b530;
/* rgb */ color: rgb(183, 181, 48);
/* oklch */ color: oklch(75.2% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0ca72',
    500: '#b7b530',
    950: '#000000',
  },
}
SCSS
$custom: #b7b530;
$custom-light: #d0ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b530",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 48
  },
  "hsl": {
    "h": 59.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75169,
    "c": 0.14737,
    "h": 108.6
  },
  "luminance": 0.43328
}

Semantic roles & 50–950 ramp

primary
#B7B530
secondary
#7B7CC8
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B530

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

Preview Lab → · Contrast checker → · Palette generator →

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