#B0A527#B0A527

#B0A527 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.138 H 104.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B0A527
RGBrgb(176, 165, 39)
HSLhsl(55, 64%, 42%)
HSVhsv(55, 78%, 69%)
CMYKcmyk(0%, 6.2%, 77.8%, 31%)
CIE-LABlab(66.74, -9.79, 61.58)
CIE-LCHlch(66.74, 62.36, 99.03°)
OKLaboklab(70.99% -0.0339 0.1342)
OKLCHoklch(70.99% 0.138 104.2)
XYZxyz(31.7273, 36.2882, 7.2522)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A527 #2732B0
analogous
#B06027 #B0A527 #77B027
triadic
#B0A527 #27B0A5 #A527B0
tetradic
#B0A527 #27B060 #2732B0 #B02777
square
#B0A527 #27B060 #2732B0 #B02777
split-complementary
#B0A527 #2777B0 #6027B0
monochromatic
#4C4711 #7E761C #B0A527 #D5C940 #E0D772

Accessibility & contrast

On white

2.54
#B0A527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B0A527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A527
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A527#FFFFFF#000000##000000
##B0A5271.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#BE998D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b0a527;
/* rgb */ color: rgb(176, 165, 39);
/* oklch */ color: oklch(71.0% 0.138 104.2);
Tailwind
colors: {
  custom: {
    50: '#cbbf6c',
    500: '#b0a527',
    950: '#000000',
  },
}
SCSS
$custom: #b0a527;
$custom-light: #cbbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a527",
  "rgb": {
    "r": 176,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 55.182,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70993,
    "c": 0.13844,
    "h": 104.2
  },
  "luminance": 0.36287
}

Semantic roles & 50–950 ramp

primary
#B0A527
secondary
#6C73C7
accent
#4EE741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A527

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

Preview Lab → · Contrast checker → · Palette generator →

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