#B0A152#B0A152

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

Color values

HEX#B0A152
RGBrgb(176, 161, 82)
HSLhsl(50, 37%, 51%)
HSVhsv(50, 53%, 69%)
CMYKcmyk(0%, 8.5%, 53.4%, 31%)
CIE-LABlab(66.00, -5.01, 42.64)
CIE-LCHlch(66.00, 42.93, 96.70°)
OKLaboklab(70.52% -0.0155 0.1005)
OKLCHoklch(70.52% 0.102 98.8)
XYZxyz(32.1734, 35.3303, 13.1057)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A152 #5261B0
analogous
#B07252 #B0A152 #90B052
triadic
#B0A152 #52B0A1 #A152B0
tetradic
#B0A152 #52B072 #5261B0 #B05290
square
#B0A152 #52B072 #5261B0 #B05290
split-complementary
#B0A152 #5290B0 #7252B0
monochromatic
#5D552B #877B3E #B0A152 #C3B87C #D6CFA6

Accessibility & contrast

On white

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

On black

8.07
#B0A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A152
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A152#FFFFFF#000000##000000
##B0A1521.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0a152;
/* rgb */ color: rgb(176, 161, 82);
/* oklch */ color: oklch(70.5% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#cabc85',
    500: '#b0a152',
    950: '#000000',
  },
}
SCSS
$custom: #b0a152;
$custom-light: #cabc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a152",
  "rgb": {
    "r": 176,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 50.426,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.10171,
    "h": 98.8
  },
  "luminance": 0.35329
}

Semantic roles & 50–950 ramp

primary
#B0A152
secondary
#9AA1C4
accent
#6DCD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #B0A152

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

Preview Lab → · Contrast checker → · Palette generator →

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