#B4B536#B4B536

#B4B536 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.0% C 0.144 H 109.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B4B536
RGBrgb(180, 181, 54)
HSLhsl(60, 54%, 46%)
HSVhsv(60, 70%, 71%)
CMYKcmyk(0.6%, 0%, 70.2%, 29%)
CIE-LABlab(71.57, -15.64, 61.06)
CIE-LCHlch(71.57, 63.03, 104.37°)
OKLaboklab(74.95% -0.0491 0.1357)
OKLCHoklch(74.95% 0.144 109.9)
XYZxyz(36.0134, 43.0184, 9.8956)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B536 #3736B5
analogous
#B57636 #B4B536 #74B536
triadic
#B4B536 #36B4B5 #B536B4
tetradic
#B4B536 #36B576 #3736B5 #B53674
square
#B4B536 #36B576 #3736B5 #B53674
split-complementary
#B4B536 #3674B5 #7636B5
monochromatic
#56571A #858628 #B4B536 #CDCE5A #DBDC89

Accessibility & contrast

On white

2.19
#B4B536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B4B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B536
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B536#FFFFFF#000000##000000
##B4B5361.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD20
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b536;
/* rgb */ color: rgb(180, 181, 54);
/* oklch */ color: oklch(75.0% 0.144 109.9);
Tailwind
colors: {
  custom: {
    50: '#ceca75',
    500: '#b4b536',
    950: '#000000',
  },
}
SCSS
$custom: #b4b536;
$custom-light: #ceca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b536",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 60.472,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.14433,
    "h": 109.9
  },
  "luminance": 0.43017
}

Semantic roles & 50–950 ramp

primary
#B4B536
secondary
#8181C6
accent
#4ADD4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B536

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

Preview Lab → · Contrast checker → · Palette generator →

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