#B7B536#B7B536

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

Color values

HEX#B7B536
RGBrgb(183, 181, 54)
HSLhsl(59, 54%, 46%)
HSVhsv(59, 70%, 72%)
CMYKcmyk(0%, 1.1%, 70.5%, 28.2%)
CIE-LABlab(71.81, -14.35, 61.38)
CIE-LCHlch(71.81, 63.04, 103.16°)
OKLaboklab(75.21% -0.0456 0.1363)
OKLCHoklch(75.21% 0.144 108.5)
XYZxyz(36.7195, 43.3825, 9.9287)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B536 #3638B7
analogous
#B77536 #B7B536 #79B736
triadic
#B7B536 #36B7B5 #B536B7
tetradic
#B7B536 #36B775 #3638B7 #B73679
square
#B7B536 #36B775 #3638B7 #B73679
split-complementary
#B7B536 #3679B7 #7536B7
monochromatic
#58581A #888628 #B7B536 #CFCD5B #DDDB8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B536#FFFFFF#000000##000000
##B7B5361.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)
#C4AE20
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#C4A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b536;
/* rgb */ color: rgb(183, 181, 54);
/* oklch */ color: oklch(75.2% 0.144 108.5);
Tailwind
colors: {
  custom: {
    50: '#d0ca75',
    500: '#b7b536',
    950: '#000000',
  },
}
SCSS
$custom: #b7b536;
$custom-light: #d0ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b536",
  "rgb": {
    "r": 183,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 59.07,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75208,
    "c": 0.14375,
    "h": 108.5
  },
  "luminance": 0.43381
}

Semantic roles & 50–950 ramp

primary
#B7B536
secondary
#8283C7
accent
#4CDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B536

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

Preview Lab → · Contrast checker → · Palette generator →

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