#B0B751#B0B751

#B0B751 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.126 H 112.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#B0B751
RGBrgb(176, 183, 81)
HSLhsl(64, 41%, 52%)
HSVhsv(64, 56%, 72%)
CMYKcmyk(3.8%, 0%, 55.7%, 28.2%)
CIE-LABlab(72.02, -16.56, 50.09)
CIE-LCHlch(72.02, 52.76, 108.29°)
OKLaboklab(75.31% -0.0486 0.1165)
OKLCHoklch(75.31% 0.126 112.6)
XYZxyz(36.3240, 43.6919, 14.3029)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B751 #5851B7
analogous
#B78B51 #B0B751 #7DB751
triadic
#B0B751 #51B0B7 #B751B0
tetradic
#B0B751 #51B78B #5851B7 #B7517D
square
#B0B751 #51B78B #5851B7 #B7517D
split-complementary
#B0B751 #517DB7 #8B51B7
monochromatic
#606429 #8A8F3B #B0B751 #C4C97C #D7DBA8

Accessibility & contrast

On white

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

On black

9.74
#B0B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B751
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B751#FFFFFF#000000##000000
##B0B7511.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0b751;
/* rgb */ color: rgb(176, 183, 81);
/* oklch */ color: oklch(75.3% 0.126 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacc85',
    500: '#b0b751',
    950: '#000000',
  },
}
SCSS
$custom: #b0b751;
$custom-light: #cacc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b751",
  "rgb": {
    "r": 176,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 64.118,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75308,
    "c": 0.12626,
    "h": 112.6
  },
  "luminance": 0.43691
}

Semantic roles & 50–950 ramp

primary
#B0B751
secondary
#9F9CC8
accent
#57D15F
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #B0B751

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

Preview Lab → · Contrast checker → · Palette generator →

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