#B0A151#B0A151

#B0A151 is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.103 H 98.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B0A151
RGBrgb(176, 161, 81)
HSLhsl(51, 38%, 50%)
HSVhsv(51, 54%, 69%)
CMYKcmyk(0%, 8.5%, 54%, 31%)
CIE-LABlab(65.99, -5.09, 43.12)
CIE-LCHlch(65.99, 43.42, 96.74°)
OKLaboklab(70.51% -0.0159 0.1015)
OKLCHoklch(70.51% 0.103 98.9)
XYZxyz(32.1357, 35.3152, 12.9068)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A151 #5160B0
analogous
#B07151 #B0A151 #8FB051
triadic
#B0A151 #51B0A1 #A151B0
tetradic
#B0A151 #51B071 #5160B0 #B0518F
square
#B0A151 #51B071 #5160B0 #B0518F
split-complementary
#B0A151 #518FB0 #7151B0
monochromatic
#5D552A #877B3D #B0A151 #C3B87B #D6CEA5

Accessibility & contrast

On white

2.60
#B0A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B0A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A151
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A151#FFFFFF#000000##000000
##B0A1511.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#B2A355
Tritanopia (blue-blind)
#BC978F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b0a151;
/* rgb */ color: rgb(176, 161, 81);
/* oklch */ color: oklch(70.5% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#cabc84',
    500: '#b0a151',
    950: '#000000',
  },
}
SCSS
$custom: #b0a151;
$custom-light: #cabc84;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a151",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 50.526,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7051,
    "c": 0.1027,
    "h": 98.9
  },
  "luminance": 0.35314
}

Semantic roles & 50–950 ramp

primary
#B0A151
secondary
#99A0C4
accent
#6CCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #B0A151

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

Preview Lab → · Contrast checker → · Palette generator →

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