#B0A328#B0A328

#B0A328 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.6% C 0.136 H 103.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B0A328
RGBrgb(176, 163, 40)
HSLhsl(54, 63%, 42%)
HSVhsv(54, 77%, 69%)
CMYKcmyk(0%, 7.4%, 77.3%, 31%)
CIE-LABlab(66.20, -8.70, 60.76)
CIE-LCHlch(66.20, 61.38, 98.15°)
OKLaboklab(70.56% -0.0307 0.1327)
OKLCHoklch(70.56% 0.136 103)
XYZxyz(31.3861, 35.5791, 7.2213)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A328 #2835B0
analogous
#B05F28 #B0A328 #79B028
triadic
#B0A328 #28B0A3 #A328B0
tetradic
#B0A328 #28B05F #2835B0 #B02879
square
#B0A328 #28B05F #2835B0 #B02879
split-complementary
#B0A328 #2879B0 #5F28B0
monochromatic
#4C4711 #7E751D #B0A328 #D4C641 #DFD573

Accessibility & contrast

On white

2.59
#B0A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B0A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A328
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A328#FFFFFF#000000##000000
##B0A3281.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E0A
Deuteranopia (green-blind)
#B6A431
Tritanopia (blue-blind)
#BE978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b0a328;
/* rgb */ color: rgb(176, 163, 40);
/* oklch */ color: oklch(70.6% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#cbbd6c',
    500: '#b0a328',
    950: '#000000',
  },
}
SCSS
$custom: #b0a328;
$custom-light: #cbbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a328",
  "rgb": {
    "r": 176,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 54.265,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70563,
    "c": 0.13618,
    "h": 103
  },
  "luminance": 0.35578
}

Semantic roles & 50–950 ramp

primary
#B0A328
secondary
#6D76C6
accent
#51E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B0A328

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

Preview Lab → · Contrast checker → · Palette generator →

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