#B4B641#B4B641

#B4B641 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.138 H 110.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B4B641
RGBrgb(180, 182, 65)
HSLhsl(61, 47%, 48%)
HSVhsv(61, 64%, 71%)
CMYKcmyk(1.1%, 0%, 64.3%, 28.6%)
CIE-LABlab(71.92, -15.52, 57.10)
CIE-LCHlch(71.92, 59.17, 105.21°)
OKLaboklab(75.26% -0.0476 0.1292)
OKLCHoklch(75.26% 0.138 110.2)
XYZxyz(36.5056, 43.5418, 11.4814)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B641 #4341B6
analogous
#B67D41 #B4B641 #79B641
triadic
#B4B641 #41B4B6 #B641B4
tetradic
#B4B641 #41B67D #4341B6 #B64179
square
#B4B641 #41B67D #4341B6 #B64179
split-complementary
#B4B641 #4179B6 #7D41B6
monochromatic
#5B5C21 #878931 #B4B641 #C8CA6A #D9DA97

Accessibility & contrast

On white

2.16
#B4B641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B4B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B641
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B641#FFFFFF#000000##000000
##B4B6411.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#C0AB9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b641;
/* rgb */ color: rgb(180, 182, 65);
/* oklch */ color: oklch(75.3% 0.138 110.2);
Tailwind
colors: {
  custom: {
    50: '#cdcb7c',
    500: '#b4b641',
    950: '#000000',
  },
}
SCSS
$custom: #b4b641;
$custom-light: #cdcb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b641",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 61.026,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75259,
    "c": 0.13769,
    "h": 110.2
  },
  "luminance": 0.43541
}

Semantic roles & 50–950 ramp

primary
#B4B641
secondary
#8E8DC6
accent
#51D753
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B641

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

Preview Lab → · Contrast checker → · Palette generator →

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