#B0A628#B0A628

#B0A628 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.139 H 104.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B0A628
RGBrgb(176, 166, 40)
HSLhsl(56, 63%, 42%)
HSVhsv(56, 77%, 69%)
CMYKcmyk(0%, 5.7%, 77.3%, 31%)
CIE-LABlab(67.02, -10.28, 61.51)
CIE-LCHlch(67.02, 62.37, 99.48°)
OKLaboklab(71.22% -0.0351 0.1343)
OKLCHoklch(71.22% 0.139 104.7)
XYZxyz(31.9251, 36.6570, 7.4009)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0A628 #2832B0
analogous
#B06228 #B0A628 #76B028
triadic
#B0A628 #28B0A6 #A628B0
tetradic
#B0A628 #28B062 #2832B0 #B02876
square
#B0A628 #28B062 #2832B0 #B02876
split-complementary
#B0A628 #2876B0 #6228B0
monochromatic
#4C4811 #7E771D #B0A628 #D4C941 #DFD773

Accessibility & contrast

On white

2.52
#B0A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B0A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0A628
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0A628#FFFFFF#000000##000000
##B0A6281.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A008
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#BE9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b0a628;
/* rgb */ color: rgb(176, 166, 40);
/* oklch */ color: oklch(71.2% 0.139 104.7);
Tailwind
colors: {
  custom: {
    50: '#cbc06d',
    500: '#b0a628',
    950: '#000000',
  },
}
SCSS
$custom: #b0a628;
$custom-light: #cbc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0a628",
  "rgb": {
    "r": 176,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 55.588,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71217,
    "c": 0.13879,
    "h": 104.7
  },
  "luminance": 0.36656
}

Semantic roles & 50–950 ramp

primary
#B0A628
secondary
#6D74C6
accent
#4EE642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B0A628

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

Preview Lab → · Contrast checker → · Palette generator →

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