#B7B537#B7B537

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

Color values

HEX#B7B537
RGBrgb(183, 181, 55)
HSLhsl(59, 54%, 47%)
HSVhsv(59, 70%, 72%)
CMYKcmyk(0%, 1.1%, 69.9%, 28.2%)
CIE-LABlab(71.82, -14.30, 61.02)
CIE-LCHlch(71.82, 62.67, 103.19°)
OKLaboklab(75.22% -0.0454 0.1357)
OKLCHoklch(75.22% 0.143 108.5)
XYZxyz(36.7432, 43.3920, 10.0537)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B537 #3739B7
analogous
#B77537 #B7B537 #79B737
triadic
#B7B537 #37B7B5 #B537B7
tetradic
#B7B537 #37B775 #3739B7 #B73779
square
#B7B537 #37B775 #3739B7 #B73779
split-complementary
#B7B537 #3779B7 #7537B7
monochromatic
#59581B #888629 #B7B537 #CECD5D #DCDB8C

Accessibility & contrast

On white

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

On black

9.68
#B7B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B537
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B537#FFFFFF#000000##000000
##B7B5371.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b537;
/* rgb */ color: rgb(183, 181, 55);
/* oklch */ color: oklch(75.2% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#d0ca76',
    500: '#b7b537',
    950: '#000000',
  },
}
SCSS
$custom: #b7b537;
$custom-light: #d0ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b537",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 59.063,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75216,
    "c": 0.14311,
    "h": 108.5
  },
  "luminance": 0.43391
}

Semantic roles & 50–950 ramp

primary
#B7B537
secondary
#8384C7
accent
#4DDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B537

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

Preview Lab → · Contrast checker → · Palette generator →

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