#B5B451#B5B451

#B5B451 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.1% C 0.122 H 108.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B5B451
RGBrgb(181, 180, 81)
HSLhsl(59, 40%, 51%)
HSVhsv(59, 55%, 71%)
CMYKcmyk(0%, 0.6%, 55.2%, 29%)
CIE-LABlab(71.60, -12.94, 49.72)
CIE-LCHlch(71.60, 51.37, 104.59°)
OKLaboklab(75.07% -0.0386 0.1156)
OKLCHoklch(75.07% 0.122 108.5)
XYZxyz(36.8635, 43.0613, 14.1528)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B451 #5152B5
analogous
#B58251 #B5B451 #84B551
triadic
#B5B451 #51B5B4 #B451B5
tetradic
#B5B451 #51B582 #5152B5 #B55184
square
#B5B451 #51B582 #5152B5 #B55184
split-complementary
#B5B451 #5184B5 #8251B5
monochromatic
#62612A #8D8C3C #B5B451 #C7C77C #DAD9A7

Accessibility & contrast

On white

2.18
#B5B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B5B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B451
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B451#FFFFFF#000000##000000
##B5B4511.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#C3B156
Tritanopia (blue-blind)
#C1AA9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b5b451;
/* rgb */ color: rgb(181, 180, 81);
/* oklch */ color: oklch(75.1% 0.122 108.5);
Tailwind
colors: {
  custom: {
    50: '#cdca85',
    500: '#b5b451',
    950: '#000000',
  },
}
SCSS
$custom: #b5b451;
$custom-light: #cdca85;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b451",
  "rgb": {
    "r": 181,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 59.4,
    "s": 40.323,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75066,
    "c": 0.1219,
    "h": 108.5
  },
  "luminance": 0.4306
}

Semantic roles & 50–950 ramp

primary
#B5B451
secondary
#9B9BC7
accent
#59D058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5B451

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

Preview Lab → · Contrast checker → · Palette generator →

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