#B0B151#B0B151

#B0B151 is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.119 H 109.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#B0B151
RGBrgb(176, 177, 81)
HSLhsl(61, 38%, 51%)
HSVhsv(61, 54%, 69%)
CMYKcmyk(0.6%, 0%, 54.2%, 30.6%)
CIE-LABlab(70.36, -13.49, 48.20)
CIE-LCHlch(70.36, 50.05, 105.64°)
OKLaboklab(73.98% -0.0399 0.1125)
OKLCHoklch(73.98% 0.119 109.5)
XYZxyz(35.1127, 41.2693, 13.8991)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B151 #5251B1
analogous
#B18251 #B0B151 #80B151
triadic
#B0B151 #51B0B1 #B151B0
tetradic
#B0B151 #51B182 #5251B1 #B15180
square
#B0B151 #51B182 #5251B1 #B15180
split-complementary
#B0B151 #5180B1 #8251B1
monochromatic
#5D5E2A #87883D #B0B151 #C3C47B #D6D7A6

Accessibility & contrast

On white

2.27
#B0B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#B0B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B151
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B151#FFFFFF#000000##000000
##B0B1511.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA47
Deuteranopia (green-blind)
#BFAE56
Tritanopia (blue-blind)
#BBA79C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b0b151;
/* rgb */ color: rgb(176, 177, 81);
/* oklch */ color: oklch(74.0% 0.119 109.5);
Tailwind
colors: {
  custom: {
    50: '#cac885',
    500: '#b0b151',
    950: '#000000',
  },
}
SCSS
$custom: #b0b151;
$custom-light: #cac885;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b151",
  "rgb": {
    "r": 176,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 60.625,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73984,
    "c": 0.11933,
    "h": 109.5
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#B0B151
secondary
#9A9AC4
accent
#5ACE5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #B0B151

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

Preview Lab → · Contrast checker → · Palette generator →

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