#B0A728#B0A728

#B0A728 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.140 H 105.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B0A728
RGBrgb(176, 167, 40)
HSLhsl(56, 63%, 42%)
HSVhsv(56, 77%, 69%)
CMYKcmyk(0%, 5.1%, 77.3%, 31%)
CIE-LABlab(67.29, -10.80, 61.76)
CIE-LCHlch(67.29, 62.70, 99.92°)
OKLaboklab(71.44% -0.0366 0.1348)
OKLCHoklch(71.44% 0.14 105.2)
XYZxyz(32.1076, 37.0220, 7.4618)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A728 #2831B0
analogous
#B06328 #B0A728 #75B028
triadic
#B0A728 #28B0A7 #A728B0
tetradic
#B0A728 #28B063 #2831B0 #B02875
square
#B0A728 #28B063 #2831B0 #B02875
split-complementary
#B0A728 #2875B0 #6328B0
monochromatic
#4C4811 #7E781D #B0A728 #D4CA41 #DFD873

Accessibility & contrast

On white

2.50
#B0A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B0A728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A728
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A728#FFFFFF#000000##000000
##B0A7281.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A107
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#BD9B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b0a728;
/* rgb */ color: rgb(176, 167, 40);
/* oklch */ color: oklch(71.4% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cbc06d',
    500: '#b0a728',
    950: '#000000',
  },
}
SCSS
$custom: #b0a728;
$custom-light: #cbc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a728",
  "rgb": {
    "r": 176,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 56.029,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71435,
    "c": 0.13969,
    "h": 105.2
  },
  "luminance": 0.37021
}

Semantic roles & 50–950 ramp

primary
#B0A728
secondary
#6D73C6
accent
#4DE642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A728

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

Preview Lab → · Contrast checker → · Palette generator →

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