#B5B751#B5B751

#B5B751 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.125 H 110.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#B5B751
RGBrgb(181, 183, 81)
HSLhsl(61, 41%, 52%)
HSVhsv(61, 56%, 72%)
CMYKcmyk(1.1%, 0%, 55.7%, 28.2%)
CIE-LABlab(72.42, -14.48, 50.65)
CIE-LCHlch(72.42, 52.68, 105.95°)
OKLaboklab(75.72% -0.043 0.1176)
OKLCHoklch(75.72% 0.125 110.1)
XYZxyz(37.4757, 44.2857, 14.3569)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B751 #5351B7
analogous
#B78651 #B5B751 #82B751
triadic
#B5B751 #51B5B7 #B751B5
tetradic
#B5B751 #51B786 #5351B7 #B75182
square
#B5B751 #51B786 #5351B7 #B75182
split-complementary
#B5B751 #5182B7 #8651B7
monochromatic
#636429 #8E8F3B #B5B751 #C7C97C #DADBA8

Accessibility & contrast

On white

2.13
#B5B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#B5B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B751
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B751#FFFFFF#000000##000000
##B5B7511.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C0ADA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b751;
/* rgb */ color: rgb(181, 183, 81);
/* oklch */ color: oklch(75.7% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#cdcc85',
    500: '#b5b751',
    950: '#000000',
  },
}
SCSS
$custom: #b5b751;
$custom-light: #cdcc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b751",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 61.176,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75722,
    "c": 0.12523,
    "h": 110.1
  },
  "luminance": 0.44285
}

Semantic roles & 50–950 ramp

primary
#B5B751
secondary
#9C9CC8
accent
#57D159
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5B751

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

Preview Lab → · Contrast checker → · Palette generator →

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