#B1B751#B1B751

#B1B751 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.126 H 112.1°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B1B751
RGBrgb(177, 183, 81)
HSLhsl(64, 41%, 52%)
HSVhsv(64, 56%, 72%)
CMYKcmyk(3.3%, 0%, 55.7%, 28.2%)
CIE-LABlab(72.10, -16.14, 50.20)
CIE-LCHlch(72.10, 52.74, 107.83°)
OKLaboklab(75.39% -0.0475 0.1167)
OKLCHoklch(75.39% 0.126 112.1)
XYZxyz(36.5510, 43.8089, 14.3135)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B751 #5751B7
analogous
#B78A51 #B1B751 #7EB751
triadic
#B1B751 #51B1B7 #B751B1
tetradic
#B1B751 #51B78A #5751B7 #B7517E
square
#B1B751 #51B78A #5751B7 #B7517E
split-complementary
#B1B751 #517EB7 #8A51B7
monochromatic
#616429 #8A8F3B #B1B751 #C4C97C #D8DBA8

Accessibility & contrast

On white

2.15
#B1B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B1B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B751
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B751#FFFFFF#000000##000000
##B1B7511.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF46
Deuteranopia (green-blind)
#C4B257
Tritanopia (blue-blind)
#BCADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b751;
/* rgb */ color: rgb(177, 183, 81);
/* oklch */ color: oklch(75.4% 0.126 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacc85',
    500: '#b1b751',
    950: '#000000',
  },
}
SCSS
$custom: #b1b751;
$custom-light: #cacc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b751",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 63.529,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7539,
    "c": 0.12603,
    "h": 112.1
  },
  "luminance": 0.43808
}

Semantic roles & 50–950 ramp

primary
#B1B751
secondary
#9E9CC8
accent
#57D15E
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B1B751

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

Preview Lab → · Contrast checker → · Palette generator →

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